Indicates, that this layer is part of an exclusiveGroup
An array of arbitrary exclusive groups
directly manipulating the headers Object will not trigger a reload. Reload the data via layer.reload() manually.
True if this layer has been initialized, typically after its first activation.
returns the currently set locale. Can be used to provide locale specific URLs.
sets the locale and reloads the layer the if the URL is a locale aware Object.
A model matrix to apply to each cesium3DTileset created from this layer. This will overwrite any modelMatrix calculated by the offset property.
An offset in x, y, z. x and y are in degrees longitude latitude respectively. If a modelMatrix is defined on this layer, setting an offset will not take effect until you set the modelMatrix to undefined.
The splitDirection to be applied - for 3D vector features currently only working on points with a Model
A layers url, should on be configured, else an empty string
Static
classActivates this layer object, i.e. changes its internal view state and updates the map. The returned promise resolves, once the layer & any _implementations are initialized and all data is loaded. Once the promise resolves, the layer can still be inactive, if deactivate was called while initializing the layer.
creates an array of layer implementations for the given map.
return the specific implementation
Returns all implementation of this layer for all maps
creates or returns a cached array of layer implementations for the given map.
initialized Map
return the specific implementation
Optional
styleOptions: StyleItem | StyleItemOptionsOptional
defaultStyle: StyleItemchecks if the currently active map supports this layer
is called from the map when the map is activated, and this layer is in the layerCollection of the map. Will create an implementation if it does not exits and will forward the activation call to the implementation.
is called from the map when the map is deactivated, and this layer is in the layerCollection of the map. will forward deactivation call to the map specific implementation
is called when a layer is removed from the layer collection of a map or said map is destroyed. destroys the associated implementation.
Sets the style based on a styleName on a layer
Optional
silent: booleanStatic
getProtected
_defaultProtected
Optional
_headersProtected
_supportedThe class names of the supported maps.
Protected
_urlOptional
[modulea height offset for rendering of a balloon for a feature of this layer.
Optional
datasourceOptional Id to synchronize with the vcPublisher Datasources. This can also be used to track a connection to other sources of data.
event raised if the exclusives group of the layer changes. is passed the array of exclusive groups as its only argument
An optional feature provider to provider features based on click events.
FeatureVisibility tracks the highlighting and hiding of features on this layer
if provided, the layer will only be shown in the given MapNames. An empty array will show the layer in all configured maps. Changes require calling layer.redraw() to take effect.
Readonly
nameunique Name
Readonly
splitraised if the split direction changes, is passed the split direction as its only argument
Event raised, if the layers state changes. Is passed the LayerState as its only parameter
Readonly
styleAn event, called when the style of the layer changes. Is passed the new style item as its value.
Called when the zIndex of this layer is changed. Is passed the new zIndex as its only argument.
represents a specific Building layer for cesium.