[ Web Proxy ]
URL:
Viewing: https://developers.google.com/maps/documentation/javascript/cloud-customization/viz [Back]  [Original]

Filter which map features to display  |  Maps JavaScript API  |  Google for Developers Skip to main content
Send feedback

Filter which map features to display Stay organized with collections Save and categorize content based on your preferences.

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 [Visibility eye icon toggle displays the default in gray]

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

Note: When you hide map features, you may expose boundary inaccuracies. Map feature boundaries are not always precise, but are adjusted to look correct when all layers are visible. To learn more about how map layers affect each other, see Manage styles that overlap.
Send feedback

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 2026-08-19 UTC.

Need to tell us more? [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-08-19 UTC."],[],[]]

Web Proxy Viewer  |  New URL  |  Original Page