Filter which map features to display

Select platform: Android iOS JavaScript Web Service

You can filter which specific map features to display by adjusting their visibility. If you want to control how dense all POIs are on the map, see Control the density of Points of interest.

You customize which points of interest on a map to display by setting the visibility for a map feature:

  1. In the style editor, select the POI map feature you want to display or hide. For example, Points of interest > Lodging.

  2. Under Visibility, the visibility is controlled by an eye icon toggle. Select the eye icon to enable visibility selection, which turns the icon blue. The default basemap visibility is shown in gray.

    Visibility eye icon toggle displays the default in gray

  3. Select the icon again to toggle the visibility between off and on.

    • On: Always display this map feature, when the zoom level allows.
      Lodging Visibility is On - hotels are shown

    • Off: Never display this map feature.
      Lodging Visibility is Off - hotels disappear

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月21日 UTC.