sharenowTech / AnyMaps

Easily switch between Google, Baidu and OSM maps
181 stars 39 forks source link

How to clear map? #12

Closed mengoni closed 7 years ago

mengoni commented 7 years ago

Hi, using anymaps-osm I noticed that clear() method is not implemented. Is it possible to remove the markers from map? Thanks

dmitry-zaitsev commented 7 years ago

Every DrawableComponent (which is everything you can draw on the map, like marker, circle, etc.) has remove method. That how you should clear the map.