Select platform: [Android](https://developers.google.com/maps/documentation/android-sdk/cloud-customization/taxonomy.md.txt "View this page for the Android platform docs.") [Android 3D](https://developers.google.com/maps/documentation/maps-3d/android-sdk/cloud-customization/taxonomy.md.txt "View this page for the Android 3D platform docs.") [iOS](https://developers.google.com/maps/documentation/ios-sdk/cloud-customization/taxonomy.md.txt "View this page for the iOS platform docs.") [iOS 3D](https://developers.google.com/maps/documentation/maps-3d/ios-sdk/cloud-customization/taxonomy.md.txt "View this page for the iOS 3D platform docs.") [JavaScript](https://developers.google.com/maps/documentation/javascript/cloud-customization/taxonomy.md.txt "View this page for the JavaScript platform docs.") [Web Service](https://developers.google.com/maps/documentation/maps-static/cloud-customization/taxonomy.md.txt "View this page for the Web Service platform docs.")

<br />


The map features you can customize are arranged in a hierarchy, and each map
feature has one or more style elements that you can customize. Most top-level
features have one or more child map features. You have several options when
customizing map styles:

- **Inherit from the base map style**: If you don't customize a style element
  for a map feature, it inherits the default style from the base map.

- **Inherit from parents**: Customize a style element on a parent map feature,
  to have all un-customized child map features below inherit the styles from
  their parent.

- **Override the parent style**: Customize a style element on a child map
  feature to override the parent style for that element.

- **Customize zoom levels** : For some map features, you can customize style
  elements for different zoom levels. For details, see [Style zoom
  levels](https://developers.google.com/maps/documentation/maps-static/cloud-customization/zoom-levels).

## What you can style for each map feature

Map features can have one or more of the following style elements that you can
customize, depending on the type of map feature:

- **Visibility**: Whether to show or hide this feature on the map.

- **Fill color**: Fill color for polygons and polylines.

- **Stroke color**: Outline color for polygons and polylines.

- **Stroke width**: Thickness of the outline for polygons and polylines.
  Results may vary depending on the zoom level. If you don't want an outline,
  set the Stroke color to be the same as the Fill color, or set the Stroke
  width to 0.

- **Icon color**: Fill color for non-POI icons.

- **Pin outline color** : Outline color for the *Point of interest* pins.

- **Pin fill color** : Fill color for the *Point of interest* pins.

- **Pin glyph color** : Glyph color for the *Point of interest* pins.

- **Text fill color**: Fill color for text labels.

- **Text stroke color**: Outline color for text labels.

> [!NOTE]
> **Note:** Stroke color and Stroke width customizations are not available for all map features. For details, see [Polygons and Polylines](https://developers.google.com/maps/documentation/maps-static/cloud-customization/taxonomy.md.txt#polygons_and_polylines).

### Map feature visibility

When you hide map features or make them transparent, 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](https://developers.google.com/maps/documentation/maps-static/cloud-customization/overlap.md.txt).

There are two ways to show or hide map features: visibility and opacity.

#### Visibility

To either display or hide a map feature on your map, use the **Visibility**
style element. For more details, see
[Filter which map features to display](https://developers.google.com/maps/documentation/maps-static/cloud-customization/viz.md.txt).

> [!NOTE]
> **Note:** Not all map features are shown on the map at all zoom levels. To see the map feature displayed or hidden, you may need to zoom in or out.

#### Opacity

You can also make a map feature transparent by adjusting the opacity of the
following style elements: Fill color, Stroke color, Text fill color, and Text
stroke color.
![](https://developers.google.com/static/maps/images/cloud-customization/opacity-polyline.png) ![](https://developers.google.com/static/maps/images/cloud-customization/opacity-text.png)

When you adjust the opacity of a map feature, its appearance depends on the map
features underneath. To avoid unexpected style changes, set a custom style for
all overlapping features.

> [!NOTE]
> **Note:** Opacity is not available for all map features.

### Polygons and Polylines

For map feature types that are represented with a shape, such as Beach, Country,
and Town square, or a line, such as Railway track, Highway, and Trail, you can
typically style the following elements: Visibility, Fill color, Stroke color,
and Stroke width.
![](https://developers.google.com/static/maps/images/cloud-customization/reservation.png)

*Polygon styling customization example - for **Reservation** feature type*

![](https://developers.google.com/static/maps/images/cloud-customization/highway.png)

*Polyline styling customization example - for **Highway** feature type*

Stroke color and Stroke width customizations are **not available** for the
following map features:

- Political map features: Their style conveys meaning on the map, such
  as indicating the type of territory. The political map features are
  **Country** , **Border** , **State or province** , and **Sublocality**.

- 3D style buildings.

### Icons and Text Labels

For map feature types that are fully or partially represented with a label, such
as Transportation and other non-Point of interest types, you can usually style
the following elements: Visibility, Icon color, Text fill color, and Text stroke
color.
![](https://developers.google.com/static/maps/images/cloud-customization/label-icon-non-poi-customizations.png)

*Icon styling and label text customizations example*

### Pins

You can style **Point of interest** map feature types with the following
elements: Visibility, Pin outline color, Pin fill color, Pin glyph color,
Text fill color, and Text stroke color.
![](https://developers.google.com/static/maps/images/cloud-customization/label-poi-pin-customizations.png)

*Pin styling and label text customizations example*

## Map feature hierarchy

These tables for the top level map features show what child map features are
available under each.

| ### Point of interest |||
|---|---|---|
| Emergency | Fire Hospital Pharmacy Police |   |
| Entertainment | Arts Casino Cinema Historic Museum Theme park Tourist attraction |   |
| Food and drink | Bar Cafe Restaurant Winery |   |
| Landmark |   |   |
| Lodging |   |   |
| Recreation | Beach Boating Fishing Golf course Hot spring Nature reserve Park Peak Sports complex Sports field Trailhead Zoo |   |
| Retail | Grocery Shopping |   |
| Service | ATM Bank Car rental EV charging Gas station Parking lot Post office Rest stop Restroom |   |
| Transit | Airport |   |
| Other | Bridge |   |
| Other | Cemetery |   |
| Other | Government |   |
| Other | Library |   |
| Other | Military |   |
| Other | Place of worship | Buddhist Christian Hindu Islamic Jain Jewish Shinto Sikh |
| Other | School |   |
| Other | Town square |   |

| ### Political ||
|---|---|
| Country |   |
| Border |   |
| Reservation |   |
| State or province |   |
| City |   |
| Sublocality |   |
| Neighborhood |   |
| Land parcel |   |

| ### Infrastructure ||||
|---|---|---|---|
| Building | Commercial Indoor |   |   |
| Business corridor |   |   |   |
| Road network | No traffic | Pedestrian mall |
| Road network | No traffic | Trail | Paved Unpaved |
| Road network | Parking aisle |   |   |
| Road network | Ramp |   |   |
| Road network | Road shield |   |   |
| Road network | Road sign |   |   |
| Road network | Road | Arterial Highway Local No outlet |   |
| Road network | Road detail^\*^ | Surface Crosswalk Sidewalk Intersection Direction arrow |   |
| Railway track | Commercial Commuter |   |   |
| Transit station | Bicycle share |   |   |
| Transit station | Bus station |   |   |
| Transit station | Ferry terminal |   |   |
| Transit station | Funicular station |   |   |
| Transit station | Gondola station |   |   |
| Transit station | Monorail |   |   |
| Transit station | Rail station | Subway station Tram station |   |
| Urban area |   |   |   |

| ### Natural |||
|---|---|---|
| Continent |   |   |
| Archipelago |   |   |
| Island |   |   |
| Land | Land cover^†^ | Crops Dry crops Forest Ice Sand Shrub Tundra |
| Water | Ocean Lake River Other |   |
| Base |   |   |