Turn off Google Maps local points
Asked Answered
P

1

7

I currently have a webapp which draws points of interest using the maps api, however I have noticed a small annoyance which I would like to turn off if possible.

Right now when the google map is loaded, it will show points of interest and local business (city hall, pizza hut, etc...). I don't mind the wording showing up labelling them, but I do not want these points clickable, as if often happens that people using touchscreens hit these points accidentally

Is there a way to turn this feature off?

Playa answered 7/2, 2012 at 16:15 Comment(1)
Can you accept the answer if that's what you were looking for?Wholewheat
W
12

You can turn them off using map Styling. The specific style would be

[
  {
    featureType: "poi",
    stylers: [
      { visibility: "off" }
    ]
  }
]
Wholewheat answered 7/2, 2012 at 16:25 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.