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_indexProtected_initializeDetermines whether this map can show this viewpoint. Returns true in any other map then ObliqueMap
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
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.
Sets the current image to the given panorama image. If the image is undefined, the current image is cleared.
Optionalimage: PanoramaImageValidates a visualization. A visualization must have the vcsLayeName symbol set and a layer with said name must be part of the maps layerCollection.
StaticgetProtected_cesiumProtected_listenersProtected_terrainOptional[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.