How to remove all marker on the map? Which function?
Thanks!
How to remove all marker on the map? Which function?
Thanks!
Truong,
If you are using InMemoryMarkerOverlay, you can use inMemoryMarkerOverlay.Features.Clear(); if you are using SimpleMarkerOverlay, you can use simpleMarkerOverlay.Markers.Clear(). If you just want to remove the markers on the map, you can also try markerOverlay.IsVisible = false.
Thanks,
Ben