JimuLayerView

Class

JimuLayerView is a wrapper class for ArcGIS API for JavaScript LayerView. It is created by a JimuMapView using a layer DataSource.

Constructors

new JimuLayerView(optionsJimuLayerViewConstructorOptions): JimuLayerView
Parameters
Returns 
JimuLayerView

Properties

PropertyTypeNotes
string

The id of the JimuLayerView instance.

string

The jimuMapViewId is the corresponding JimuMapView instance id.

any

The layer is the corresponding layer object in ArcGIS JavaScript API View.map.

string

The layerDataSourceId is the corresponding datasource id.

string

The layer type, see ArcGIS API for JavaScript Layer type]((https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html#type))

LayerView

The view is the ArcGIS API for JavaScript LayerView.

id

Class Property
id: string

The id of the JimuLayerView instance.

jimuMapViewId

Class Property
jimuMapViewId: string

The jimuMapViewId is the corresponding JimuMapView instance id.

layer

Class Property
layer: any

The layer is the corresponding layer object in ArcGIS JavaScript API View.map.

layerDataSourceId

Class Property
layerDataSourceId: string

The layerDataSourceId is the corresponding datasource id.

view

Class Property
view: LayerView

The view is the ArcGIS API for JavaScript LayerView.

Methods

MethodReturnsNotes
void

Destroy the JimuLayerView instance.

Return the cooresponding data source of the layer

MapView | SceneView

Return the MapView or SceneView of the layer view.

void

Select feature

void

Select features

destroy

Class Method
destroy(): void

Destroy the JimuLayerView instance.

Returns 
void

getLayerDataSource

Class Method
getLayerDataSource(): DataSource

Return the cooresponding data source of the layer

Returns 
DataSource

getMapSceneView

Class Method
getMapSceneView(): MapView | SceneView

Return the MapView or SceneView of the layer view.

Returns 
MapView | SceneView

selectFeatureById

Class Method
selectFeatureById(idstring): void

Select feature

Parameters
ParameterType
id
string
Returns 
void

selectFeaturesByIds

Class Method
selectFeaturesByIds(idsstring[]): void

Select features

Parameters
ParameterType
ids
string[]
Returns 
void

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