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.
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
classProtected
_trackActivates 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.
add features to the vector layer and return an array with their ids. The geometry will be mutated and transformed to EPSG 3857 mercator coordinate system features will be added an id, if they do not already have one.
returns the ids of the added features. if a feature has an id and the same id is alread in the layer, it will not be added.
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 | VectorStyleItemOptions | DeclarativeStyleItemOptionsOptional
defaultStyle: StyleItemReturns the layers vcsMeta object
checks 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 highlightstyle of this layer
Sets the style based on a styleName on a layer
Optional
silent: booleanSets the meta values based on a Object. Does not carry over the style
Static
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
A flag to indicate, whether the features in the layer have a UUID, allowing certain interactions, e.g. hidding its features in plannings
If true, the cesium synchronizers are destroyed on map change
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.
VectorLayer Layer for OpenlayersMap, Cesium and ObliqueMap