Issue
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?
Solution
After adding the marker it is possible to obtain its reference:
Marker marker = map.addMarker(..);
The Marker
class has a remove
method:
Answered By - Alexey Zakharov
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.