StyleOverrides interface
Override the default styles for the map elements.
Properties
admin |
First administrative level within the country/region level, such as a state or a province. Supported by map styles "road", "satellite_road_labels", "grayscale_light", "grayscale_dark", "night", "road_shaded_relief", "high_contrast_dark", "high_contrast_light". |
admin |
Second administrative level within the country/region level, such as a county. Supported by map styles "road", "satellite_road_labels", "night", "road_shaded_relief", "high_contrast_dark", "high_contrast_light". |
building |
Building footprints along with their address numbers. Supported by map styles "road", "grayscale_light", "grayscale_dark", "night", "road_shaded_relief", "high_contrast_dark", "high_contrast_light". |
country |
Country or regions. Supported by map styles "road", "satellite_road_labels", "grayscale_light", "grayscale_dark", "night", "road_shaded_relief", "high_contrast_dark", "high_contrast_light". |
road |
Street blocks in the populated places. Supported by map styles "road", "grayscale_light", "grayscale_dark", "night", "road_shaded_relief", "high_contrast_dark", "high_contrast_light". |
Property Details
adminDistrict
First administrative level within the country/region level, such as a state or a province. Supported by map styles "road", "satellite_road_labels", "grayscale_light", "grayscale_dark", "night", "road_shaded_relief", "high_contrast_dark", "high_contrast_light".
adminDistrict?: BorderedMapElementStyles
Property Value
adminDistrict2
Second administrative level within the country/region level, such as a county. Supported by map styles "road", "satellite_road_labels", "night", "road_shaded_relief", "high_contrast_dark", "high_contrast_light".
adminDistrict2?: BorderedMapElementStyles
Property Value
buildingFootprint
Building footprints along with their address numbers. Supported by map styles "road", "grayscale_light", "grayscale_dark", "night", "road_shaded_relief", "high_contrast_dark", "high_contrast_light".
buildingFootprint?: MapElementStyles
Property Value
countryRegion
Country or regions. Supported by map styles "road", "satellite_road_labels", "grayscale_light", "grayscale_dark", "night", "road_shaded_relief", "high_contrast_dark", "high_contrast_light".
countryRegion?: BorderedMapElementStyles
Property Value
roadDetails
Street blocks in the populated places. Supported by map styles "road", "grayscale_light", "grayscale_dark", "night", "road_shaded_relief", "high_contrast_dark", "high_contrast_light".
roadDetails?: MapElementStyles