On Nov 11, 6:36 am, stopshinal <[email protected]> wrote: > So the question is how to clear markers in v2. > > for loop { > gmarker[i].setMap(null); // is the closest I could come up with, > but this is v3 > > } > > any ideas?
Look at the documentation? The v2 method is GMap2.removeOverlay: http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GMap2.removeOverlay -- Larry > I dont want to just hide them, i need them gone so I can > add others -- You received this message because you are subscribed to the Google Groups "Google Maps API V2" 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-api?hl=en.
