Remove default map tags on android

Asked

Viewed 82 times

0

1 answer

0

To remove bookmarks that are added to Google Place for addMarker, which in this case would use googleMap.addMarker() you can do so:

marker.remove()

The addMarker method is:

public final Marker addMarker (MarkerOptions options)

And to clear all 'Cribbles' of the map just you call the clear() as shown below:

map.clear();
  • How do I get the tags reference added by default? The brands I added with Tranquil addMarker.

  • @Edsonfsantos Have you tried using the clear.

  • I just tested, clear removes the marks I added with addMarker

  • 2

    It is not possible to remove these marks by Google API, but an appeal has already been made to Google by the developers, as per the link: https://code.google.com/p/gmaps-api-issues/issues/detail?id=4841

  • Removal of tags is now available see https://developers.google.com/maps/documentation/android-api/hiding-features and https://mapstyle.withgoogle.com style editor/

Browser other questions tagged

You are not signed in. Login or sign up in order to post.