Google Maps API v3: How to remove all markers?

Posted by mp_ on Stack Overflow See other posts from Stack Overflow or by mp_
Published on 2009-10-09T16:13:53Z Indexed on 2010/03/13 20:15 UTC
Read the original article Hit count: 155

Filed under:
|
|
|

In Google Maps API v2, if I wanted to remove all the map markers, I could simply do:

map.clearOverlays();

How do I do this in Google Maps API v3?

Looking at the Reference API, it's unclear to me.

© Stack Overflow or respective owner

Related posts about google-maps

Related posts about JavaScript