JimuFeatureLayerView

Class

The JimuFeatureLayerView extends from the JimuLayerView.

Inheritance: JimuFeatureLayerViewJimuLayerView

Constructors

new JimuFeatureLayerView(optionsJimuFeatureLayerViewOptions): JimuFeatureLayerView
Parameters
ParameterType
options
JimuFeatureLayerViewOptions
Returns 
JimuFeatureLayerView

Properties

Hide inherited properties
PropertyTypeNotes
id
 inherited 
string

The id of the JimuLayerView instance.

jimuMapViewId
 inherited 
string

The jimuMapViewId is the corresponding JimuMapView instance id.

layer
 inherited 
any

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

layerDataSourceId
 inherited 
string

The layerDataSourceId is the corresponding datasource id.

type
 inherited 
string

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

FeatureLayerView

The view is the ArcGIS API for JavaScript FeatureLayerView. If the layer is from mapservice, view = null

id

inherited
Class Property
id: string

The id of the JimuLayerView instance.

Inherited from JimuLayerView.id

jimuMapViewId

inherited
Class Property
jimuMapViewId: string

The jimuMapViewId is the corresponding JimuMapView instance id.

layer

inherited
Class Property
layer: any

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

Inherited from JimuLayerView.layer

layerDataSourceId

inherited
Class Property
layerDataSourceId: string

The layerDataSourceId is the corresponding datasource id.

view

Class Property
view: FeatureLayerView

The view is the ArcGIS API for JavaScript FeatureLayerView. If the layer is from mapservice, view = null

Methods

Hide inherited methods
MethodReturnsNotes
destroy()
 inherited 
void

Destroy the JimuLayerView instance.

Return the cooresponding data source of the layer

getMapSceneView()
 inherited 
MapView | SceneView

Return the MapView or SceneView of the layer view.

selectFeatureById(id, record?)
void

Select feature

selectFeaturesByIds(ids, records?)
void

Select features by IDs. When select features by IDs, we can pass in the data source records. So when the selected records are not loaded in data source, we can add them in.

destroy

inherited
Class Method
destroy(): void

Destroy the JimuLayerView instance.

Returns 
void
Inherited from JimuLayerView.destroy

getLayerDataSource

Class Method
getLayerDataSource(): FeatureLayerDataSource

Return the cooresponding data source of the layer

Returns 
FeatureLayerDataSource

getMapSceneView

inherited
Class Method
getMapSceneView(): MapView | SceneView

Return the MapView or SceneView of the layer view.

Returns 
MapView | SceneView

selectFeatureById

Class Method
selectFeatureById(idstring, record?FeatureDataRecord): void

Select feature

Parameters
ParameterType
id
string
record
FeatureDataRecord
Returns 
void

selectFeaturesByIds

Class Method
selectFeaturesByIds(idsstring[], records?FeatureDataRecord[]): void

Select features by IDs. When select features by IDs, we can pass in the data source records. So when the selected records are not loaded in data source, we can add them in.

Parameters
ParameterType
ids
string[]
records
FeatureDataRecord[]
Returns 
void

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