This has been answered many times before... I'll give you the short but sweet version.
When you construct your markers, save them in an array. If you want to remove, hide or in any way manipulate them, iterate through the array to do so. -John Coryat On Sun, Jan 10, 2010 at 8:28 PM, scotty <scottsh...@gmail.com> wrote: > how do i clear all markers from my map? > > -- > 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 google-maps-js-api...@googlegroups.com. > To unsubscribe from this group, send email to > google-maps-js-api-v3+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-maps-js-api-v3?hl=en. > > > >
-- 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 google-maps-js-api...@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.