How to remove single marker using Google Maps V2? [duplicate]
This question already has an answer here: Remove a marker from a GoogleMap 9 answers The only method that removes markers from map is clear. However it clears all markers from the map. I want to remove only single marker or group of markers. How could i achieve this? Alexey Zakharov After adding the marker it is possible to obtain its reference: Marker marker = map.addMarker(..); The Marker class has a remove method: I got the same problem, so to fix it I'm doing mMap = super.getMap(); map.clear(); I wrote up a blog post on how to remove Markers when they are moved off the screen, and adding