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
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.
Map
return the specific implementation
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
getOptional
[moduleProtected
_defaultProtected
Optional
_headersPrivate
_splitPrivate
_styleProtected
_supportedThe class names of the supported maps.
Protected
_urla 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
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.
Generated using TypeDoc
Base class for all layers representing features, e.g. VectorLayer, Buildings, POIs