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.
The types of layers to display on this map. An empty array means all types.
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
Staticclassactivates the map, if necessary initializes the map. Once the promise resolves, the map can still be inactive, if deactivate was called while the map was activating.
Internal API for registering representations.
Adds a visualization to the visualizations map for its layer. The visualization must be valid, use validateVisualization first
Determines whether this map can show this viewpoint. Returns true in any other map then ObliqueMap
deactivates the map
disposes the map
prevent all movement, including api calls (gotoViewpoint, setting oblique images), key and pointer events.
Resolution in meters per pixe
coordinate in mercator for which to determine resolution. only required in 3D
Returns the most precise viewpoint possible in ObliqueMap.
Returns an approximate viewpoint in ObliqueMap, not requesting terrain.
Get all visualizations added to this map.
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.
Internal API for deregistering representations.
Removes a visualization
Requests this map to render when possible
Sets the map target.
Validates a visualization. A visualization must have the vcsLayeName symbol set and a layer with said name must be part of the maps layerCollection.
StaticgetOptional[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
ReadonlylayerReadonlynameunique 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.
Event raised when a visualization is added to the map
Event raised when a visualization is removed from the map
Whether the map is active or not