This class implements the MapType interface and is provided for rendering image tiles.
Access by calling const {ImageMapType} = await google.maps.importLibrary("maps")
. See
https://developers.google.com/maps/documentation/javascript/libraries.
Alt text to display when this MapType's button is hovered over in the MapTypeControl. Optional.
The maximum zoom level for the map when displaying this MapType. Required for base MapTypes, ignored for overlay MapTypes.
The minimum zoom level for the map when displaying this MapType. Optional; defaults to 0.
Name to display in the MapTypeControl. Optional.
The Projection used to render this MapType. Optional; defaults to Mercator.
Radius of the planet for the map, in meters. Optional; defaults to Earth's equatorial radius of 6378137 meters.
The dimensions of each tile. Required.
Adds the given listener function to the given event name. Returns an
identifier for this listener that can be used with
google.maps.event.removeListener
.
Binds a View to a Model.
Gets a value.
Returns the opacity level (0
(transparent) to
1.0
) of the ImageMapType
tiles.
Notify all observers of a change on this property. This notifies both objects that are bound to the object's property as well as the object that it is bound to.
Tile to release.
Sets a value.
Sets the opacity level (0
(transparent) to 1.0
)
of the ImageMapType
tiles.
The new opacity.
Sets a collection of key-value pairs.
Removes a binding. Unbinding will set the unbound property to the current value. The object will not be notified, as the value has not changed.
Removes all bindings.
Generated using TypeDoc
This class implements the MapType interface and is provided for rendering image tiles.
Access by calling
const {ImageMapType} = await google.maps.importLibrary("maps")
. See https://developers.google.com/maps/documentation/javascript/libraries.