Answer the question
In order to leave comments, you need to log in
Android GoogleMaps: how to add and remove marker groups?
Good evening.
MarkerOptions markerOptions = new MarkerOptions().position(new LatLng(lat, lon)).title(owner_id);
Marker marker = mMap.addMarker(markerOptions);
List<Marker>
for further operations with markers (delete a group, update markers in a group)?
Answer the question
In order to leave comments, you need to log in
Т.к. нет свойства для идентификации маркеров, то я в Snippet пишу идентификаторы, типа:
MarkerType:me (MarkerType:myobject, MarkerType:person....)
Subgroup:654646
....
Сохраняя их также, в List.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question