aytee / google-maps-utility-library-v3

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

Markermanager doesn't show markers after a panTo #63

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When using map.panTo(location) the markermanager doesn't display the markers on 
the new location. Only after a manual pan of the map or a zoom change the 
markers will become visible.

Demo link or sample code:
http://www.archill.net/reizen/kaartv3.php?id=brugge
This will display some markers around Brugge in Belgium, if you select in the 
drop-down box below the map for instance Jakar in Bhutan, the map pans to that 
location, but no markers are displayed until the map is manually moved or 
zoomed.

Expected result:
Markers displayed as in the V2 API, see 
http://www.archill.net/reizen/kaart.php?id=brugge

Browser / Operating System:
FF and IE on WinXP

Original issue reported on code.google.com by web.mas...@archill.net on 30 Jan 2011 at 2:54

GoogleCodeExporter commented 9 years ago
I had the same problem. Solution was in markermanager.js change zoom_changed 
listener to bounds_changed listener in initialize funciton.

Original comment by martin.k...@gmail.com on 4 Aug 2011 at 8:42

GoogleCodeExporter commented 9 years ago
Had same problem, and confirmed the fix in the comment above worked.

Original comment by stephen....@gmail.com on 1 Nov 2011 at 7:16

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
This indeed fixes the problem, thanks.
This implies that the link mentioned at the demo doesn't work anymore and the 
link at the expected result now shows the map with the V3 API.

Original comment by web.mas...@archill.net on 6 Nov 2011 at 5:00