JimuGroupLayerView

Class

JimuGroupLayerView is the wrapper of GroupLayer .

Inheritance: JimuGroupLayerViewJimuLayerView

Properties

Hide inherited properties
PropertyTypeNotes
fromRuntime
inherited
boolean

true means the JimuLayerView is created from runtime. e.g. The JimuLayerView is created by AddData widget at runtime. false means the layer is a builtin layer of WebMap or WebScene.

id
inherited
string

The id of the JimuLayerView instance. It connects the JimuMapView.id and the JimuLayerId with "-"

index
inherited
number

The order defined in the webmap

jimuMapViewId
inherited
string

The jimuMapViewId is the corresponding JimuMapView instance id.

GroupLayer

The layer is the ArcGIS Maps SDK for JavaScript GroupLayer .

string

The layerDataSourceId is the corresponding data source id. This id always has value, but the layer data source may not be created.

type
inherited
string

The layer type, see ArcGIS Maps SDK for JavaScript Layer type.

view
inherited
LayerView | BuildingComponentSublayerView

The view is the ArcGIS Maps SDK for JavaScript LayerView or BuildingComponentSublayerView .

fromRuntime

inheritedinherited
Class Property
fromRuntime: boolean

true means the JimuLayerView is created from runtime. e.g. The JimuLayerView is created by AddData widget at runtime. false means the layer is a builtin layer of WebMap or WebScene.

id

inheritedinherited
Class Property
id: string

The id of the JimuLayerView instance. It connects the JimuMapView.id and the JimuLayerId with "-"

Inherited from JimuLayerView.id

index

inheritedinherited
Class Property
index: number

The order defined in the webmap

Inherited from JimuLayerView.index

jimuMapViewId

inheritedinherited
Class Property
jimuMapViewId: string

The jimuMapViewId is the corresponding JimuMapView instance id.

layer

Class Property
layer: GroupLayer

The layer is the ArcGIS Maps SDK for JavaScript GroupLayer .

layerDataSourceId

inheritedinherited
Class Property
layerDataSourceId: string

The layerDataSourceId is the corresponding data source id. This id always has value, but the layer data source may not be created.

type

inheritedinherited
Class Property
type: string

The layer type, see ArcGIS Maps SDK for JavaScript Layer type.

Inherited from JimuLayerView.type

view

inheritedinherited
Class Property
view: LayerView | BuildingComponentSublayerView

The view is the ArcGIS Maps SDK for JavaScript LayerView or BuildingComponentSublayerView .

Inherited from JimuLayerView.view

Methods

Hide inherited methods
MethodReturnsNotes
Promise<DataSource>

Create corresponding data source for the layer.

destroy()
inherited
void

Destroy the JimuLayerView instance.

Get all ancestor JimuLayerViews.

getJimuMapView()
inherited

Get the JimuMapView that the current JimuLayerView belongs to.

Return the corresponding data source of the layer.

getMapDataSource()
inherited

Get the map data source of the layer.

getMapSceneView()
inherited
MapView | SceneView

Return the MapView or SceneView of the layer view.

Get parent JimuLayerView.

isLayerVisible()
inherited
boolean

If any layer in the layer tree is invisible, the layer is considered invisible.

createLayerDataSource

inheritedinherited
Class Method
createLayerDataSource(): Promise<DataSource>

Create corresponding data source for the layer.

Returns 
Promise<DataSource>

destroy

inheritedinherited
Class Method
destroy(): void

Destroy the JimuLayerView instance.

Returns 
void
Inherited from JimuLayerView.destroy

getAllAncestorJimuLayerViews

inheritedinherited
Class Method
getAllAncestorJimuLayerViews(): JimuLayerView[]

Get all ancestor JimuLayerViews.

Returns 
JimuLayerView[]

getJimuMapView

inheritedinherited
Class Method
getJimuMapView(): JimuMapView

Get the JimuMapView that the current JimuLayerView belongs to.

Returns 
JimuMapView

getLayerDataSource

inheritedinherited
Class Method
getLayerDataSource(): DataSource

Return the corresponding data source of the layer.

Returns 
DataSource

getMapDataSource

inheritedinherited
Class Method
getMapDataSource(): MapDataSource

Get the map data source of the layer.

Returns 
MapDataSource

getMapSceneView

inheritedinherited
Class Method
getMapSceneView(): MapView | SceneView

Return the MapView or SceneView of the layer view.

Returns 
MapView | SceneView

getParentJimuLayerView

inheritedinherited
Class Method
getParentJimuLayerView(): JimuLayerView

Get parent JimuLayerView.

Returns 
JimuLayerView

isLayerVisible

inheritedinherited
Class Method
isLayerVisible(): boolean

If any layer in the layer tree is invisible, the layer is considered invisible.

Returns 
boolean

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.