cybersthang / gmaps-utility-library-dev

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

MarkerClusterer and gDirection div panel summary are incompatible #188

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
1. display a map with some MarkerClusterer waypoints
2. create a gDirection with map and panel parameters
3. issues a new directions query with load method
4. in the panel div contains directions, click on a item number (link)
5. an error occurs

windows xp + ie 8

Thanks,
Gian Paolo Saliola

Original issue reported on code.google.com by info@okmap.org on 3 Feb 2010 at 6:35

GoogleCodeExporter commented 8 years ago

Original comment by pamela.fox on 4 Feb 2010 at 12:10

GoogleCodeExporter commented 8 years ago
Another error occurs if user click on a green route marker (using 
loadFromWaypoints) 
also ('url' is null or it isn't an object).
A possible workaround?
Thanks
Gian Paolo Saliola

Original comment by info@okmap.org on 4 Feb 2010 at 11:22

GoogleCodeExporter commented 8 years ago
Hi,
someone corrected this bug?

Original comment by SandalAn...@gmail.com on 19 Nov 2010 at 3:09

GoogleCodeExporter commented 8 years ago
Although not a complete solution - the way I've managed to get around this 
issue is to turn off the markerClusterer object before using gdirections:

markerCluster.clearMarkers();

and then when you've finished with gdirections - re-create it:

markerCluster = new MarkerClusterer(map, markerArray);

Original comment by kineticV...@gmail.com on 23 Jul 2011 at 9:01

GoogleCodeExporter commented 8 years ago
Thanks for the answer.
I'll try it.
Gian Paolo Saliola

Original comment by info@okmap.org on 23 Jul 2011 at 9:14