I've placed, say 20 InfoWindows+Markers+Icons on my map.
When the user pans to the right, I want to remove all existing InfoWindows+Markers+Icons on my map and paint the new ones.
Is there an easy way to do this?
I've placed, say 20 InfoWindows+Markers+Icons on my map.
When the user pans to the right, I want to remove all existing InfoWindows+Markers+Icons on my map and paint the new ones.
Is there an easy way to do this?
If you don't want to do the clearing and painting yourself, the easiest option would be to use MarkerManager, from the Utility Library.
Remember that you can add custom javascript to the Subgurim GoogleMaps control using "CustomJavascript" or "CustomInsideJavascript"
On the other hand, as Chris B says, it will be very useful to use the Subgurim MarkerManager.
found it, it's subgurim_GMap1.clearOverlays();
in javascript, where subgurim_GMap1 is the GMap_Id of your map