ertoron / google-maps-utility-library-v3

Automatically exported from code.google.com/p/google-maps-utility-library-v3
0 stars 0 forks source link

MarkerManager uses non-existing .getLatLng() method #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It seems like Marker.getLatLng() was removed from the google maps API and 
replaced by Marker.getPosition().

On markermanager.js line 451 the ".getLatLng()" calls should be replaced by 
".getPosition()" and then everything seems to work with the most recent google 
maps version.

It would be nice to get this one fixed quickly so we can move away from a local 
copy of markermanager.js

Original issue reported on code.google.com by soelvfi...@gmail.com on 8 Jun 2010 at 6:46

GoogleCodeExporter commented 9 years ago
Hmm, the .getLatLng() method seems to be back in the maps API again (still 
removed from the docs).

This brings the MM back into a working state, but the fix above should still be 
applied as it will probably just be a matter of time before google fully 
deprecates (removes) the method.

Original comment by soelvfi...@gmail.com on 1 Jul 2010 at 9:53

GoogleCodeExporter commented 9 years ago
I changed the call since using undocumented features are bad m'kay :)

I will be commiting shortly.

Original comment by bbr...@gmail.com on 1 Nov 2010 at 9:20

GoogleCodeExporter commented 9 years ago

Original comment by bbr...@gmail.com on 1 Nov 2010 at 9:56