layerTypes
layerTypes: GoogleMapsLayerTypes[] | undefined
An array of values that specifies the layer types added to the map.
layerRoadmap
: Required if you specify terrain as the map type. Can also be optionally overlaid on the satellite map type. Has no effect on roadmap tiles.
layerStreetview
: Shows Street View-enabled streets and locations using blue outlines on the map.
Defined in
Last Updated: 26 April, 2025
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.