Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hide specific poi.business on gmap api v3

I succeeded to hide business POI on Google Maps API v3 with this topic.

But now I wonder if there is a way to be more specific.

I want to hide only hotels POI but still show restaurants and bars POI.

Is there a solution ?

Thanks

like image 416
Ricozor Avatar asked Jan 30 '14 11:01

Ricozor


People also ask

How do I hide markers on Google Maps API?

Once you are able to detect the marker click event you need to "hide" or remove the marker from the map. The standard way for doing this with google maps is to do this: this. setMap(null);

How do I hide my business on Google Maps?

Use Google's Map Style Use the settings in the sidebar to adjust the density of the labels: Lower the landmark density to remove pins but keep street names. Decrease the label density to hide street names, too. Click “More options” at the bottom for advanced settings.

Can you remove POI from Google Maps?

You can use map styling to hide features on the map. Select an option in this example to hide or show business points of interest (POIs) and public transit icons on the map.


1 Answers

I don't think there is a way to be more specific. You can refer to the Styled Map Wizard and the documentation to see what you can toggle.

like image 82
MrUpsidown Avatar answered Oct 16 '22 09:10

MrUpsidown