Trying to remove all of the markers from my map so I can draw new ones
(store locator map, if a user wants to change where to look for stores,
i want to do more then just clear them from the overlay, i want them
gone from the gmarker array so they will stop showing up in the table
which displays the markers in the map as store locations.)

mycode thus far:


for (var i=0; i<gmarkers.length; i++) {

gmarkers[i].setMap(null);
}



Obvious question, does this just work for v3, or v2 as well. Second.
How can I tell if I am using v2 or v3?


Many thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to