Whether the map is active or not
Sets the default field of view in degrees when loading a new image.
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.
The panorama camera controller controlling the camera movement. Throws if not properly initialized
The panorama image view controlling image loading and rendering. Throws if not properly initialized
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 currently set HTML element in which to render the map
StaticclassProtected_Protected_activates 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 used to register visualizations from layer implementations
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.
Access to the raw cesium widget for finer control. Throws if not properly initialized.
Returns the closest image to the given coordinate within the given distance from all the datasets in the panorama datasets collection.
getClosestImage for the given viewpoint. Prefers the ground position
Resolution in meters per pixe
returns the cesium Scene Object, returns null on non initialized or destroyed maps
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 current image to the closest image to the given coordinate. Unsets the current image, if there is no image within the default distance.
is called if a layer changes its position in the layerCollection.
Internal API used to unregister visualizations from layer implementations
Requests this map to render when possible
Sets the current image to the given panorama image. If the image is undefined, the current image is cleared.
Optionalimage: PanoramaImagedefines whether ancestors are preloaded or not
Sets the map target.
set the cesium TerrainProvider
unsets the TerrainProvider (changes to the default TerrainProvider if the given terranProvider is currently active)
Validates a visualization. A visualization must have the vcsLayeName symbol set and a layer with said name must be part of the maps layerCollection.
StaticgetProtected_Protected_Protected_Optional[moduleReadonlycurrentThe event raised when the current image changes. Can be raised with undefined if the current image is cleared or a viewpoint fails to load an image.
Whether 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
Map Base Class, each different map is derived from this abstract base class.