Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

google maps api: how to disable commercial locations?

I've created a custom map using the APIv3 and I've positioned my markers (hotel and restaurants addresses)

But in the map there are also, by default, some labels of hotels, restaurants, and any kind of commercial location. And some of them are in competition with my customers...

Is there a way to remove them from the map, leaving in the map's view only non-commercial names?

like image 482
skyline26 Avatar asked Dec 26 '12 03:12

skyline26


People also ask

Can you turn off businesses on Google Maps?

If you need a completely label-free view of an area, you can easily toggle this option in the Map Details settings. Unfortunately, this option is only available in the desktop version of Google Maps.

Can I use Google Maps API commercially?

If you want to use Google Maps, Google Earth or Street View for other commercial purposes – meaning “for sale or revenue-generating purposes” – please contact the Google Cloud Customer Team.


1 Answers

You can disable these advertisements by styledmaptype.

If you would prefer that your Maps API application not include these icons, you can remove them ahead of next week’s release by setting visibility:off on the labels element of poi.business for your map.

See : http://googlegeodevelopers.blogspot.com/2011/08/business-icons-and-styling-across.html

But remember, these labels are also hidden when you specify "visibility:off" for poi.business.

Otherwise, you can disable these advertisements if you contract with Google Maps API for Business license.

like image 148
wf9a5m75 Avatar answered Oct 11 '22 13:10

wf9a5m75