Quantcast
Channel: User Christoffer - Stack Overflow
Viewing all articles
Browse latest Browse all 45

After upgrading to google maps api 3.17 all fails

$
0
0

I get this error in the api's main.js Uncaught InvalidValueError: setPlace: unknown property attributes

Can't figure out what is causing it. Or what specific functionality is failing. Will update question when I fin out more.

All worked in v3.16. I am now using maps api 3.19 with gmap3 5.1.1

Any ideas to what it could be would be helpful

Update:

It is the place: place, part in the below that causes it:

        marker: {
            options: {
                icon:
                    new google.maps.MarkerImage('/media/img/map_markers/map_marker_' + classname + '.png',
                        new google.maps.Size(37, 31),
                        new google.maps.Point(0,0),
                        new google.maps.Point(14, 31),
                        new google.maps.Size(37, 31)
                    ),
                place: place,
                draggable:true
            },

Viewing all articles
Browse latest Browse all 45

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>