Properties
Private _activeLayersChangedSource
_activeLayersChangedSource: any = new EventSource<void>("shapefileLayerSource:activeLayersChanged")
Private _activeStateChangedSource
_activeStateChangedSource: any = new EventSource<void>("shapefileLayerSource:activeStateChanged")
Private _data
_data: any
Private _description
_description: any
Private _id
_id: any
Private _isActive
_isActive: any = false
Private _isUpdating
_isUpdating: any = false
Private _layerType
_layerType: any
Private _layers
_layers: any
Private _name
_name: any
Private _opacity
_opacity: any = 1
Private _opacityChangedSource
_opacityChangedSource: any = new EventSource<void>("shapefileLayerSource:opacityChanged")
Private _updatingStateChangedSource
_updatingStateChangedSource: any = new EventSource<void>("shapefileLayerSource:updatingStateChanged")
active
- get active(): boolean
- set active(active: boolean): void
-
Returns boolean
-
Parameters
Returns void
activeLayersChanged
- get activeLayersChanged(): Event<void>
-
Returns Event<void>
activeStateChanged
- get activeStateChanged(): Event<void>
-
Returns Event<void>
data
- get data(): IFeatureCollection
- set data(data: IFeatureCollection): void
-
Returns IFeatureCollection
-
Parameters
Returns void
description
- get description(): string
-
Returns string
Private getChildren
- getChildren(layers: Layer[]): Layer[]
-
Parameters
Returns Layer[]
id
-
Returns string
isBaselayer
- get isBaselayer(): boolean
-
Returns boolean
isUpdating
- get isUpdating(): boolean
- set isUpdating(value: boolean): void
-
Returns boolean
-
Parameters
Returns void
layerType
- get layerType(): string
- set layerType(layerType: string): void
-
Returns string
-
Parameters
Returns void
layers
- get layers(): Array<ShapefileLayer>
-
Returns Array<ShapefileLayer>
name
-
Returns string
opacity
- get opacity(): number
- set opacity(value: number): void
-
Returns number
-
Parameters
Returns void
opacityChanged
- get opacityChanged(): Event<void>
-
Returns Event<void>
updatingStateChanged
- get updatingStateChanged(): Event<void>
-
Returns Event<void>
The ShapefileDynamicLayerSource class is an implementation of LayerSource.
var dataSource = new ShapefileDynamicLayerSource(id, name, description, layers, options.data);