Hiding individual businesses in the Google Maps Platform JSON

237 Views Asked by At

I am currently working on an Android app where i'm implementing the Google Maps feature.

The app is focused around a certain festival in my home town. And as of right now, it just zooms into the main position of where the festival will be. I will be adding custom markers, to give the user more info about where stuff like toilets, bars, food, etc, will be. But that's not relevant for the question. This is what it currently looks like when you open the map functionality of the app: image

I am using the styling functionality that google provides, and i have found that i can remove businesses and roads from the map if i wanted to. But i have yet to find a way to remove individual businesses via the styling functionality. More specifically, i want to remove the one business in the bottom left. So far i have yet to find a way to do exactly this, if it is even possible, as it has no relevance for the festival at all.

So my question remains, is there any known way to actually remove individual businesses from the Google Maps functionality that i implemented? Whether that is through the Styling functionality mentioned above, or some other way.

1

There are 1 best solutions below

2
Andrii Omelchenko On

From your link with Create map style -> MORE OPTIONS

Styling: more options

and then Business -> All -> hidden selection

Styling Business-All-hidden

you'll got something like that:

Styling  hidden business

for map style. Than, you should add created style to your app, like in this tutorial.