Select platform: [Android](https://developers.google.com/maps/documentation/android-sdk/dds-boundaries/overview.md.txt "View this page for the Android platform docs.") [iOS](https://developers.google.com/maps/documentation/ios-sdk/dds-boundaries/overview.md.txt "View this page for the iOS platform docs.") [JavaScript](https://developers.google.com/maps/documentation/javascript/dds-boundaries/overview.md.txt "View this page for the JavaScript platform docs.")

<br />

Data-driven styling for boundaries lets you access Google's polygons for
administrative boundaries, apply styling to boundary polygons,
and display them on your maps.

Data-driven styling for boundaries lets you target regions by place ID and apply
custom styling to boundary polygons on the map. Each feature type represents a
type of region; you select which feature types to enable when [configuring a map style](https://developers.google.com/maps/documentation/android/dds-boundaries/start).

Consult [Google boundaries coverage](https://developers.google.com/maps/documentation/android/dds-boundaries/coverage)
to see per-country boundary coverage.

## Feature types

Data-driven styling provides access to Google boundaries for feature types that
represent administrative areas. Administrative areas are categorized by
function, for example country, state, locality, and postal code. Feature types
are arranged by administrative level, the structure of which varies by country.
The following feature types are supported for data-driven styling for boundaries:

- `COUNTRY` --- The national political entity, typically the highest order type.
- `ADMINISTRATIVE_AREA_LEVEL_1` --- A first-order civil entity below the country level. Within the United States, these administrative levels are states.
- `ADMINISTRATIVE_AREA_LEVEL_2` --- A second-order civil entity below the country level. Within the United States, these administrative levels are counties.
- `LOCALITY` --- An incorporated city or town political entity.
- `POSTAL_CODE` --- A postal code, as used to address postal mail within the country.
- `SCHOOL_DISTRICT` --- A school district; includes unified, elementary, and secondary.

Administrative areas are represented on the map as feature layers; each type
has its own layer. Feature layers are enabled per map style. You can choose
which feature layers to enable when [setting up your map style in the Google Cloud console](https://developers.google.com/maps/documentation/android/dds-boundaries/start).

## Style boundary polygons

You can apply styles to boundary polygons for fill (color, opacity), and stroke
(color, opacity, stroke weight). Use styling to:

- [Style a boundary polygon](https://developers.google.com/maps/documentation/android/dds-boundaries/style-polygon) or show all the boundaries for a feature type.
- [Create a choropleth map](https://developers.google.com/maps/documentation/android/dds-boundaries/choropleth-map).

[Google boundaries coverage](https://developers.google.com/maps/documentation/android/dds-boundaries/coverage)
shows per-country availability of feature types.

## Next steps

- [Get started with data-driven styling for boundaries](https://developers.google.com/maps/documentation/android/dds-boundaries/start)
- [Style a boundary polygon](https://developers.google.com/maps/documentation/android/dds-boundaries/style-polygon)
- [Make a choropleth map](https://developers.google.com/maps/documentation/android/dds-boundaries/choropleth-map)
- [Handle click events](https://developers.google.com/maps/documentation/android/dds-boundaries/handle-events)
- [Use the Geocoding and Places APIs with data-driven styling for boundaries](https://developers.google.com/maps/documentation/android/dds-boundaries/dds-use-maps-places-apis)