Map class
google.maps
. Map
class
This class extends MVCObject
.
Access by calling const {Map} = await google.maps.importLibrary("maps")
.See Libraries in the Maps JavaScript API
.
Constructor
Map(mapDiv[, opts])
-
mapDiv
:HTMLElement
The map will render to fill this element. -
opts
:MapOptions optional
Options
DIV
element. Constants |
|
---|---|
DEMO_MAP_ID
|
Map ID which can be used for code samples which require a map ID. This map ID is not intended for use in production applications and cannot be used for features which require cloud configuration (such as Cloud Styling). |
Properties |
|
---|---|
controls
|
Type:
Array
< MVCArray
< HTMLElement
>>
Additional controls to attach to the map. To add a control to the map, add the control's
<div>
to the MVCArray
corresponding to the ControlPosition
where it should be rendered. |
data
|
Type:
Data
An instance of
Data
, bound to the map. Add features to this Data
object to conveniently display them on this map. |
mapTypes
|
Type:
MapTypeRegistry
A registry of
MapType
instances by string ID. |
overlayMapTypes
|
Additional map types to overlay. Overlay map types will display on top of the base map they are attached to, in the order in which they appear in the
overlayMapTypes
array (overlays with higher index values are displayed in front of overlays with lower index values). |
Methods
fitBounds(bounds[, padding])
-
bounds
:LatLngBounds | LatLngBoundsLiteral
Bounds to show. -
padding
:number| Padding optional
Padding in pixels. The bounds will be fit in the part of the map that remains after padding is removed. A number value will yield the same padding on all 4 sides. Supply 0 here to make a fitBounds idempotent on the result of getBounds.
display: none
, the fitBounds
function reads the map's size as 0x0, and therefore does not do anything. To change the viewport while the map is hidden, set the map to visibility: hidden
, thereby ensuring the map div has an actual size. For vector maps, this method sets the map's tilt and heading to their default zero values. Calling this method may cause a smooth animation as the map pans and zooms to fit the bounds. Whether or not this method animates depends on an internal heuristic.getBounds()
LatLngBounds
|undefined
The lat/lng bounds of the current viewport.undefined
. For vector maps with non-zero tilt or heading, the returned lat/lng bounds represents the smallest bounding box that includes the visible region of the map's viewport. See MapCanvasProjection.getVisibleRegion
for getting the exact visible region of the map's viewport.getClickableIcons()
boolean|undefined
true
, then the icons are clickable on the map.getDatasetFeatureLayer(datasetId)
-
datasetId
:string
FeatureLayer
FeatureLayer
for the specified datasetId
. Dataset IDs must be configured in the Google Cloud Console. If the dataset ID is not associated with the map's map style, or if Data-driven styling is not available (no map ID, no vector tiles, no Data-Driven Styling feature layers or Datasets configured in the Map Style), this logs an error, and the resulting FeatureLayer.isAvailable
will be false.getFeatureLayer(featureType)
-
featureType
:FeatureType
FeatureLayer
FeatureLayer
of the specific FeatureType
. A FeatureLayer
must be enabled in the Google Cloud Console. If a FeatureLayer
of the specified FeatureType
does not exist on this map, or if Data-driven styling is not available (no map ID, no vector tiles, and no FeatureLayer
enabled in the map style), this logs an error, and the resulting FeatureLayer.isAvailable
will be false.getHeading()
number|undefined
undefined
.getHeadingInteractionEnabled()
boolean|null
getInternalUsageAttributionIds()
Iterable
<string>|null
getMapCapabilities()
MapCapabilities
getProjection()
Projection
|undefined
Projection
. If the map is not yet initialized then the result is undefined
. Listen to the projection_changed
event and check its value to ensure it is not undefined
.getRenderingType()
RenderingType
getStreetView()
StreetViewPanorama
The panorama bound to the map.StreetViewPanorama
bound to the map, which may be a default panorama embedded within the map, or the panorama set using setStreetView()
. Changes to the map's streetViewControl
will be reflected in the display of such a bound panorama.getTilt()
number|undefined
0
for imagery taken directly overhead or 45
for 45° imagery. This method does not return the value set by setTilt
. See setTilt
for details.getTiltInteractionEnabled()
boolean|null
getZoom()
number|undefined
undefined
.moveCamera(cameraOptions)
-
cameraOptions
:CameraOptions
panBy(x, y)
-
x
:number
Number of pixels to move the map in the x direction. -
y
:number
Number of pixels to move the map in the y direction.
panTo(latLng)
-
latLng
:LatLng | LatLngLiteral
The new center latitude/longitude of the map.
LatLng
. If the change is less than both the width and height of the map, the transition will be smoothly animated.panToBounds(latLngBounds[, padding])
-
latLngBounds
:LatLngBounds | LatLngBoundsLiteral
The bounds to pan the map to. -
padding
:number| Padding optional
Padding in pixels. A number value will yield the same padding on all 4 sides. The default value is 0.
LatLngBounds
. It makes no guarantee where on the map the bounds will be, except that the map will be panned to show as much of the bounds as possible inside {currentMapSizeInPx} - {padding}
. For both raster and vector maps, the map's zoom, tilt, and heading will not be changed.setClickableIcons(value)
-
value
:boolean
false
to this method.setHeading(heading)
-
heading
:number
setHeadingInteractionEnabled(headingInteractionEnabled)
-
headingInteractionEnabled
:boolean
setRenderingType(renderingType)
-
renderingType
:RenderingType
setStreetView(panorama)
-
panorama
:StreetViewPanorama optional
The panorama to bind to the map.
StreetViewPanorama
to the map. This panorama overrides the default StreetViewPanorama
, allowing the map to bind to an external panorama outside of the map. Setting the panorama to null
binds the default embedded panorama back to the map.setTilt(tilt)
-
tilt
:number
For raster maps, controls the automatic switching behavior for the angle of incidence of the map. The only allowed values are
0
and 45
. setTilt(0)
causes the map to always use a 0° overhead view regardless of the zoom level and viewport. setTilt(45)
causes the tilt angle to automatically switch to 45 whenever 45° imagery is available for the current zoom level and viewport, and switch back to 0 whenever 45° imagery is not available (this is the default behavior). 45° imagery is only available for satellite
and hybrid
map types, within some locations, and at some zoom levels. Note:
getTilt
returns the current tilt angle, not the value set by setTilt
. Because getTilt
and setTilt
refer to different things, do not bind()
the tilt
property; doing so may yield unpredictable effects.setTiltInteractionEnabled(tiltInteractionEnabled)
-
tiltInteractionEnabled
:boolean
setZoom(zoom)
-
zoom
:number
Larger zoom values correspond to a higher resolution.
Events
function()
function()
function(event)
-
event
:MapMouseEvent | IconMouseEvent
function(event)
-
event
:MapMouseEvent
function()
function()
Map.idle
event instead in order to determine when the user has stopped panning OR dragging the map.function()
function()
function()
function()
function()
function()
function(event)
-
event
:MapMouseEvent
function(event)
-
event
:MapMouseEvent
function(event)
-
event
:MapMouseEvent
function()
function()
function()
function()
function()
function(event)
-
event
:MapMouseEvent
MapOptions interface
google.maps
. MapOptions
interface
MapOptions object used to define the properties that can be set on a Map.
Properties
backgroundColor
optional
string optional
cameraControl
optional
boolean optional
cameraControlOptions
optional
CameraControlOptions
optional
center
optional
LatLng
| LatLngLiteral
optional
clickableIcons
optional
boolean optional
true
false
, map icons are not clickable. A map icon represents a point of interest, also known as a POI. colorScheme
optional
ColorScheme
|string optional
ColorScheme.LIGHT
controlSize
optional
number optional
undefined
state. Only governs the controls made by the Maps API itself. Does not scale developer created custom controls. disableDefaultUI
optional
boolean optional
MapOptions.keyboardShortcuts
option. Does not disable gesture controls, which are separately controlled by the MapOptions.gestureHandling
option. disableDoubleClickZoom
optional
boolean optional
Note: This property is not recommended. To disable zooming on double click, you can use the gestureHandling
property, and set it to "none"
.
boolean optional
false
, prevents the map from being dragged. Dragging is enabled by default. draggableCursor
optional
string optional
cursor
attribute to change the icon. As with the css property, you must specify at least one fallback cursor that is not a URL. For example: draggableCursor: 'url( http://www.example.com/icon.png
), auto;'
. draggingCursor
optional
string optional
cursor
attribute to change the icon. As with the css property, you must specify at least one fallback cursor that is not a URL. For example: draggingCursor: 'url( http://www.example.com/icon.png
), auto;'
. fullscreenControl
optional
boolean optional
fullscreenControlOptions
optional
FullscreenControlOptions
optional
gestureHandling
optional
string optional
-
"cooperative"
: Scroll events and one-finger touch gestures scroll the page, and do not zoom or pan the map. Two-finger touch gestures pan and zoom the map. Scroll events with a ctrl key or ⌘ key pressed zoom the map.
In this mode the map cooperates with the page. -
"greedy"
: All touch gestures and scroll events pan or zoom the map. -
"none"
: The map cannot be panned or zoomed by user gestures. -
"auto"
: (default) Gesture handling is either cooperative or greedy, depending on whether the page is scrollable or in an iframe.
heading
optional
number optional
headingInteractionEnabled
optional
boolean optional
false
internalUsageAttributionIds
optional
Iterable
<string> optional
null
isFractionalZoomEnabled
optional
boolean optional
true
for vector maps and false
for raster mapsisfractionalzoomenabled_changed
to know when the default has been set. keyboardShortcuts
optional
boolean optional
false
, prevents the map from being controlled by the keyboard. Keyboard shortcuts are enabled by default. mapId
optional
string optional
Map.DEMO_MAP_ID
can be used to try out features that require a map ID but which do not require cloud enablement. mapTypeControl
optional
boolean optional
mapTypeControlOptions
optional
MapTypeControlOptions
optional
mapTypeId
optional
MapTypeId
|string optional
ROADMAP
. maxZoom
optional
number optional
null
, the maximum zoom from the current map type is used instead. Valid zoom values are numbers from zero up to the supported maximum zoom level
. minZoom
optional
number optional
null
, the minimum zoom from the current map type is used instead. Valid zoom values are numbers from zero up to the supported maximum zoom level
. noClear
optional
boolean optional
true
, do not clear the contents of the Map div.boolean optional
PanControlOptions
optional
renderingType
optional
RenderingType
optional
RenderingType.RASTER
restriction
optional
MapRestriction
optional
rotateControl
optional
boolean optional
rotateControlOptions
optional
RotateControlOptions
optional
scaleControl
optional
boolean optional
scaleControlOptions
optional
ScaleControlOptions
optional
scrollwheel
optional
boolean optional
false
, disables zooming on the map using a mouse scroll wheel. The scrollwheel is enabled by default. Note: This property is not recommended. To disable zooming using scrollwheel, you can use the gestureHandling
property, and set it to either "cooperative"
or "none"
.
streetView
optional
StreetViewPanorama
optional
StreetViewPanorama
to display when the Street View pegman is dropped on the map. If no panorama is specified, a default StreetViewPanorama
will be displayed in the map's div
when the pegman is dropped. streetViewControl
optional
boolean optional
false
when displaying a map type on which the Street View road overlay should not appear (e.g. a non-Earth map type). streetViewControlOptions
optional
StreetViewControlOptions
optional
styles
optional
Array
< MapTypeStyle
> optional
satellite
/ hybrid
and terrain
modes, these styles will only apply to labels and geometry. This feature is not available when using a map ID, or when using vector maps (use cloud-based maps styling
instead). tilt
optional
number optional
0
and 45
. The value 0
causes the map to always use a 0° overhead view regardless of the zoom level and viewport. The value 45
causes the tilt angle to automatically switch to 45 whenever 45° imagery is available for the current zoom level and viewport, and switch back to 0 whenever 45° imagery is not available (this is the default behavior). 45° imagery is only available for satellite
and hybrid
map types, within some locations, and at some zoom levels. Note:
getTilt
returns the current tilt angle, not the value specified by this option. Because getTilt
and this option refer to different things, do not bind()
the tilt
property; doing so may yield unpredictable effects. tiltInteractionEnabled
optional
boolean optional
false
zoom
optional
number optional
zoomControl
optional
boolean optional
zoomControlOptions
optional
ZoomControlOptions
optional
MapElement class
google.maps
. MapElement
class
MapElement is an HTMLElement
subclass for rendering maps. After loading the maps
library, a map can be created in HTML. For example:
<gmp-map center="37.4220656,-122.0840897" zoom="10" map-id="DEMO_MAP_ID">
<button slot="control-block-start-inline-end">Custom Control</button>
</gmp-map>
Internally, it uses
Map
, which can be accessed with the innerMap
property. Custom element: <gmp-map center="lat,lng" heading-interaction-disabled internal-usage-attribution-ids="id1 id2" map-id="string" rendering-type="vector" tilt-interaction-disabled zoom="number"></gmp-map>
This class extends HTMLElement
.
This class implements MapElementOptions
.
Access by calling const {MapElement} = await google.maps.importLibrary("maps")
.See Libraries in the Maps JavaScript API
.
Constructor
MapElement([options])
-
options
:MapElementOptions optional
Properties
LatLng
| LatLngLiteral
optional
-
<gmp-map center="lat,lng"></gmp-map>
boolean optional
false
-
<gmp-map heading-interaction-disabled></gmp-map>
Iterable
<string> optional
null
-
<gmp-map internal-usage-attribution-ids="id1 id2"></gmp-map>
string optional
Map.DEMO_MAP_ID
can be used to try out features that require a map ID but which do not require cloud enablement.-
<gmp-map map-id="string"></gmp-map>
RenderingType
optional
RenderingType.VECTOR
-
<gmp-map rendering-type="vector"></gmp-map>
-
<gmp-map rendering-type="raster"></gmp-map>
boolean optional
false
-
<gmp-map tilt-interaction-disabled></gmp-map>
number optional
-
<gmp-map zoom="number"></gmp-map>
Slots |
|
---|---|
control-block-end-inline-center
|
|
control-block-end-inline-end
|
|
control-block-end-inline-start
|
|
control-block-start-inline-center
|
|
control-block-start-inline-end
|
|
control-block-start-inline-start
|
|
control-inline-end-block-center
|
|
control-inline-end-block-end
|
|
control-inline-end-block-start
|
|
control-inline-start-block-center
|
|
control-inline-start-block-end
|
|
control-inline-start-block-start
|
|
default
|
You can create reusable components around the Maps JavaScript Web Components, like
AdvancedMarkerElement
, using custom elements. By default, any custom elements added directly to the MapElement
will be slotted and rendered in MapPanes.overlayMouseTarget
. However, the Maps JavaScript API Web Components may be re-slotted to the MapElement
's internal slots. |
Methods
addEventListener(type, listener[, options])
-
type
:string
A case-sensitive string representing the event type to listen for. -
listener
:EventListener | EventListenerObject
The object that receives a notification. This must be a function or an object with the handleEvent method -
options
:boolean| AddEventListenerOptions optional
See options . Custom events only supportcapture
andpassive
.
void
removeEventListener(type, listener[, options])
-
type
:string
A string which specifies the type of event for which to remove an event listener. -
listener
:EventListener | EventListenerObject
The event listener of the event handler to remove from the event target. -
options
:boolean| EventListenerOptions optional
See options .
void
Events
function(event)
-
event
:ZoomChangeEvent
MapElementOptions interface
google.maps
. MapElementOptions
interface
MapElementOptions object used to define the properties that can be set on a MapElement.
Properties |
|
---|---|
center
optional
|
Type:
LatLng
| LatLngLiteral
optional
|
headingInteractionDisabled
optional
|
Type:
boolean optional
|
internalUsageAttributionIds
optional
|
Type:
Iterable
<string> optional
|
mapId
optional
|
Type:
string optional
|
renderingType
optional
|
Type:
RenderingType
optional
|
tiltInteractionDisabled
optional
|
Type:
boolean optional
|
zoom
optional
|
Type:
number optional
|
ZoomChangeEvent class
google.maps
. ZoomChangeEvent
class
This event is created from monitoring zoom change.
This class extends Event
.
Access by calling const {ZoomChangeEvent} = await google.maps.importLibrary("maps")
.See Libraries in the Maps JavaScript API
.
MapTypeStyle interface
google.maps
. MapTypeStyle
interface
The MapTypeStyle
is a collection of selectors and stylers that define how the map should be styled. Selectors specify the map features and/or elements that should be affected, and stylers specify how those features and elements should be modified. For details, see the style reference
.
Properties |
|
---|---|
stylers
|
The style rules to apply to the selected map features and elements. The rules are applied in the order that you specify in this array. For guidelines on usage and allowed values, see the style reference
.
|
elementType
optional
|
Type:
string optional
The element to which a styler should be applied. An element is a visual aspect of a feature on the map. Example: a label, an icon, the stroke or fill applied to the geometry, and more. Optional. If
elementType
is not specified, the value is assumed to be 'all'
. For details of usage and allowed values, see the style reference
. |
featureType
optional
|
Type:
string optional
The feature, or group of features, to which a styler should be applied. Optional. If
featureType
is not specified, the value is assumed to be 'all'
. For details of usage and allowed values, see the style reference
. |
MapMouseEvent interface
google.maps
. MapMouseEvent
interface
This object is returned from various mouse events on the map and overlays, and contains all the fields shown below.
Properties |
|
---|---|
domEvent
|
Type:
MouseEvent
| TouchEvent
| PointerEvent
| KeyboardEvent
| Event
The corresponding native DOM event. Developers should not rely on
target
, currentTarget
, relatedTarget
and path
properties being defined and consistent. Developers should not also rely on the DOM structure of the internal implementation of the Maps API. Due to internal event mapping, the domEvent
may have different semantics from the MapMouseEvent
(e.g. a MapMouseEvent
"click" may have a domEvent
of type KeyboardEvent
). |
latLng
optional
|
Type:
LatLng
optional
The latitude/longitude that was below the cursor when the event occurred.
|
Methods |
|
---|---|
stop
|
stop()
Parameters: None
Return Value:
void
Prevents this event from propagating further.
|
IconMouseEvent interface
google.maps
. IconMouseEvent
interface
This object is sent in an event when a user clicks on an icon on the map. The place ID of this place is stored in the placeId member. To prevent the default info window from showing up, call the stop() method on this event to prevent it being propagated. Learn more about place IDs in the Places API developer guide.
This interface extends MapMouseEvent
.
Properties |
|
---|---|
placeId
optional
|
Type:
string optional
The place ID of the place that was clicked. This place ID can be used to query more information about the feature that was clicked.
Learn more about place IDs in the Places API developer guide. |
Inherited:
domEvent
, latLng
|
Methods |
|
---|---|
Inherited:
stop
|
ColorScheme constants
google.maps
. ColorScheme
constants
Identifiers for map color schemes. Specify these by value, or by using the constant's name. For example, 'FOLLOW_SYSTEM'
or google.maps.ColorScheme.FOLLOW_SYSTEM
.
Access by calling const {ColorScheme} = await google.maps.importLibrary("core")
.See Libraries in the Maps JavaScript API
.
Constants |
|
---|---|
DARK
|
The dark color scheme for a map. |
FOLLOW_SYSTEM
|
The color scheme is selected based on system preferences. |
LIGHT
|
The light color scheme for a map. Default value for legacy Maps JS. |
MapTypeId constants
google.maps
. MapTypeId
constants
Identifiers for common MapTypes. Specify these by value, or by using the constant's name. For example, 'satellite'
or google.maps.MapTypeId.SATELLITE
.
Access by calling const {MapTypeId} = await google.maps.importLibrary("maps")
.See Libraries in the Maps JavaScript API
.
Constants |
|
---|---|
HYBRID
|
This map type displays a transparent layer of major streets on satellite images. |
ROADMAP
|
This map type displays a normal street map. |
SATELLITE
|
This map type displays satellite images. |
TERRAIN
|
This map type displays maps with physical features such as terrain and vegetation. |
MapTypeRegistry class
google.maps
. MapTypeRegistry
class
A registry for MapType instances, keyed by MapType id.
This class extends MVCObject
.
Access by calling const {MapTypeRegistry} = await google.maps.importLibrary("maps")
.See Libraries in the Maps JavaScript API
.
Constructor |
|
---|---|
MapTypeRegistry
|
MapTypeRegistry()
Parameters: None
The
MapTypeRegistry
holds the collection of custom map types available to the map for its use. The API consults this registry when providing the list of available map types within controls, for example. |
Methods
MapRestriction interface
google.maps
. MapRestriction
interface
A restriction that can be applied to the Map. The map's viewport will not exceed these restrictions.
Properties |
|
---|---|
latLngBounds
|
Type:
LatLngBounds
| LatLngBoundsLiteral
When set, a user can only pan and zoom inside the given bounds. Bounds can restrict both longitude and latitude, or can restrict latitude only. For latitude-only bounds use west and east longitudes of -180 and 180, respectively, for example,
latLngBounds: {north: northLat, south: southLat, west: -180, east: 180}
. |
strictBounds
optional
|
Type:
boolean optional
Bounds can be made more restrictive by setting the
strictBounds
flag to true
. This reduces how far a user can zoom out, ensuring that everything outside of the restricted bounds stays hidden. The default is false
, meaning that a user can zoom out until the entire bounded area is in view, possibly including areas outside the bounded area. |
TrafficLayer class
google.maps
. TrafficLayer
class
A traffic layer.
This class extends MVCObject
.
Access by calling const {TrafficLayer} = await google.maps.importLibrary("maps")
.See Libraries in the Maps JavaScript API
.
Constructor
TrafficLayer([opts])
-
opts
:TrafficLayerOptions optional
Methods
setMap(map)
-
map
:Map optional
null
, the layer will be removed.TrafficLayerOptions interface
google.maps
. TrafficLayerOptions
interface
TrafficLayerOptions object used to define the properties that can be set on a TrafficLayer.
Properties |
|
---|---|
autoRefresh
optional
|
Type:
boolean optional
Default:
true
Whether the traffic layer refreshes with updated information automatically.
|
map
optional
|
Type:
Map
optional
Map on which to display the traffic layer.
|
TransitLayer class
google.maps
. TransitLayer
class
A transit layer.
This class extends MVCObject
.
Access by calling const {TransitLayer} = await google.maps.importLibrary("maps")
.See Libraries in the Maps JavaScript API
.
Constructor |
|
---|---|
TransitLayer
|
TransitLayer()
Parameters: None
A layer that displays transit lines.
|
Methods
BicyclingLayer class
google.maps
. BicyclingLayer
class
A layer showing bike lanes and paths.
This class extends MVCObject
.
Access by calling const {BicyclingLayer} = await google.maps.importLibrary("maps")
.See Libraries in the Maps JavaScript API
.
Constructor |
|
---|---|
BicyclingLayer
|
BicyclingLayer()
Parameters: None
A layer that displays bike lanes and paths and demotes large roads.
|
Methods
CameraOptions interface
google.maps
. CameraOptions
interface
Used for setting the map's camera options.
Properties |
|
---|---|
center
optional
|
Type:
LatLngLiteral
| LatLng
optional
|
heading
optional
|
Type:
number optional
|
tilt
optional
|
Type:
number optional
|
zoom
optional
|
Type:
number optional
|
VisibleRegion interface
google.maps
. VisibleRegion
interface
Contains the four points defining the four-sided polygon that is the visible region of the map. On a vector map this polygon can be a trapezoid instead of a rectangle, when a vector map has tilt.
Properties |
|
---|---|
farLeft
|
Type:
LatLng
|
farRight
|
Type:
LatLng
|
latLngBounds
|
Type:
LatLngBounds
The smallest bounding box that includes the visible region.
|
nearLeft
|
Type:
LatLng
|
nearRight
|
Type:
LatLng
|
RenderingType constants
google.maps
. RenderingType
constants
Access by calling const {RenderingType} = await google.maps.importLibrary("maps")
.See Libraries in the Maps JavaScript API
.
Constants |
|
---|---|
RASTER
|
Indicates that the map is a raster map. |
UNINITIALIZED
|
Indicates that it is unknown yet whether the map is vector or raster, because the map has not finished initializing yet. |
VECTOR
|
Indicates that the map is a vector map. |
MapCapabilities interface
google.maps
. MapCapabilities
interface
Object containing a snapshot of what capabilities are currently available for the Map. Note that this does not necessarily mean that relevant modules are loaded or initialized, but rather that the current map has permission to use these APIs. See the properties for a list of possible capabilities.
Properties |
|
---|---|
isAdvancedMarkersAvailable
optional
|
Type:
boolean optional
If true, this map is configured properly to allow for the use of advanced markers. Note that you must still import the
marker
library in order to use advanced markers. See https://goo.gle/gmp-isAdvancedMarkersAvailable
for more information. |
isDataDrivenStylingAvailable
optional
|
Type:
boolean optional
If true, this map is configured properly to allow for the use of data-driven styling for at least one FeatureLayer. See https://goo.gle/gmp-data-driven-styling
and https://goo.gle/gmp-FeatureLayerIsAvailable
for more information.
|
isWebGLOverlayViewAvailable
optional
|
Type:
boolean optional
|