The layer collection of this map. LayerCollections can be shared among maps. When adding the map to a , the layer collection of the will be set. When setting the layer collection, the destroyLayerCollection flag is automatically set to false.
Whether the map is loading or not
Whether api calls like gotoViewpoint & setting of oblique images are disabled
Whether movement related key events like the arrow keys for navigating in map are disabled.
Whether movement related pointer events for navigating in map are disabled.
An event raised on the maps post render
The splitPosition should always be aligned with the mapCollection's splitPosition. Use mapCollection to change splitPosition.
The splitPosition should always be aligned with the mapCollection's splitPosition. Use mapCollection to change splitPosition.
The currently set HTML element in which to render the map
Static
classDetermines whether this map can show this viewpoint. Returns true in any other map then ObliqueMap
Gets the visualizations for a specific layer
Gets the visualizations of a vector cluster group
sets the view to the given viewpoint
Optional
_optMaximumHeight: numberduring animation (can be used to get rid of the bunny hop) gotoViewpoint
is called if a layer changes its position in the layerCollection.
Validates a visualization. A visualization must have the vcsLayeName symbol set and a layer with said name must be part of the maps layerCollection.
Static
getOptional
[moduleWhether to destroy the layerCollection when destroying the map. Defaults to false if passing in a LayerCollection and true if a LayerCollection is created. Is set to false, when setting a different LayerCollection.
The name of a map to fall back on, if this map cant show a viewpoint
instead of using a fallback map, this map will fail to activate if another map is active and the current viewpoint cannot be shown
Readonly
nameunique Name
Event raised then the map has a pointer interaction. Raises MapEvent.
Event raised when the maps state changes. Is passed the MapState as its only argument.
Whether the map is active or not