Class: Layer

Layer()

new Layer()

The layer model class used by the stores.
Source:

Members

(static) descriptionProperty

The layer property that will be used to describe the model in views.
Source:

(static) synchronizedProperties

This property specifies which properties are synchronized between the store record and the ol layer object. By default this only the property `'title'`.
Source:

(static) textProperty

The layer property that will be used to label the model in views.
Source:

(static) unnamedGroupLayerText

The text label that will be shown in model views representing unnamed group layers.
Source:

(static) unnamedLayerText

The text label that will be shown in model views representing unnamed layers.
Source:

Methods

(static) getOlLayer() → {ol.layer.Base}

Returns the `ol.layer.Base` object used in this model instance.
Source:
Returns:
The `ol.layer.Base` object.
Type
ol.layer.Base

(static) getOlLayerProp(prop, defaultValue) → {Object}

Returns a property value of the `ol.layer.Base` object used in this model instance. If the property is null, the optional default value will be returned.
Parameters:
Name Type Description
prop string The property key.
defaultValue Object The optional default value.
Source:
Returns:
The returned property.
Type
Object