tributemedia / 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

Clusters disappearing when map.setZoom(level) is run with same zoom level as map's zoom level #204

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Demo link or sample code:
http://sandbox.saeidmohadjer.com/google_map_cluster_bug.php

What steps will reproduce the problem?
1. Click the button in abvoe link to see the problem (clusters disappear when 
map.setZoom() is called with same zoom level as map's zoom level.

Expected result:
Clusters should remain visible.

Actual result:
[Describe what actually happened]

Version: ###

Browser / Operating System:
All browsers

Additional comments:
[Enter any additional comments about the bug here.]

*********************************************************
Tip: Star this issue (next to title) to receive notifications of status
changes against this issue, also used as a gauge for how many people are
interested in seeing it resolved.
*********************************************************

Original issue reported on code.google.com by saeid.mo...@gmail.com on 16 Oct 2012 at 3:20

GoogleCodeExporter commented 9 years ago
use this will resolve your problem

if(map.getZoom()!=3)
    map.setZoom(3);

Original comment by er.mohit...@gmail.com on 31 Oct 2012 at 8:13