How to remove single marker using Google Maps V2?

android, android-mapview, google-maps, google-maps-android-api-2

Solution

After adding the marker it is possible to obtain its reference:

Marker marker = map.addMarker(..);

The `Marker` class has a `remove` method:

Problem

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?

Original source

Related problems