How can i remove google places marks? As shown below, that are markers that i didn't placed on the map (marked in blue). BTW, it is possible to use google place's markers instead of my own custom marker (marked in red).
Thank you in advance
How can i remove google places marks?
If you have added your custom marker, yes you can delete it. But if you are asking about google map default tiles(bus,restaurent etc), no you can't delete those. reference
Update after September 2016
yes now you can remove those icons, see this issue.
please check https://developers.google.com/maps/documentation/android-api/releases#september_21_2016
you need to set map style off GoogleMap
googleMap.setMapStyle(
MapStyleOptions.loadRawResourceStyle(
this, R.raw.style_json));
your style_json
will look like this
[
{
"featureType": "poi.business",
"elementType": "all",
"stylers": [
{
"visibility": "off"
}
]
}
]
Here is the full demo which explains everything
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With