0

I only need to display only food cord. Is there any filter for POIs? I have done this so far, but this does not solve my question ...

  [
    {
      \"featureType\": "poi",
      \"elementType\": \"all\",
      \"stylers\": [
        {
          \"visibility\": \"off\"
        }
      ]
    },
    {
      \"featureType\": \"poi.business\",
      \"elementType\": \"labels.icon\",
      \"stylers\": [
        {
          \"visibility\": \"on\"
        }
      ]
    }
  ]
kigan
  • 1

1 Answers1

0

You can use the Cloud-based maps styling to control the behavior and appearance of points of interest (POIs) on the map. You can use the POI filtering to enable only the Food and drink POI to show in the map. You can achieve this by:

  1. Setting the visibility of Points of interest > All element type- All > Stylers=Visibility - Off enter image description here
  2. Then click the Points of interest-Business-Food & drinks> All > Visibility - On enter image description here
Pagemag
  • 2,779
  • 1
  • 7
  • 17