JimuFeatureLayerView
Class
The JimuFeatureLayerView extends from the JimuLayerView.
Properties
Property | Type | Notes |
---|---|---|
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. | |
string | The id of the JimuLayerView instance. It connects the JimuMapView.id and the JimuLayerId with "-" | |
number | The order defined in the webmap | |
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. This id always has value, but the layer data source may not be created. | |
string | The layer type, see ArcGIS Maps SDK for JavaScript Layer type]((https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html#type)) | |
FeatureLayerView | The |
id
id: string
The id of the JimuLayerView instance. It connects the JimuMapView.id and the JimuLayerId with "-"
index
index: number
The order defined in the webmap
jimuMapViewId
jimuMapViewId: string
The jimuMapViewId is the corresponding JimuMapView instance id.
layer
layer: any
The layer is the corresponding layer object in ArcGIS JavaScript API View.map.
layerDataSourceId
layerDataSourceId: string
The layerDataSourceId is the corresponding datasource id. This id always has value, but the layer data source may not be created.
type
type: string
The layer type, see ArcGIS Maps SDK for JavaScript Layer type]((https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html#type))
view
Class Propertyview: FeatureLayerView
The view
is the ArcGIS Maps SDK for JavaScript FeatureLayerView
.
If the layer is from mapservice, view = null
Methods
Method | Returns | Notes |
---|---|---|
MapView | SceneView | Return the MapView or SceneView of the layer view. | |
boolean | Whether the layer data source is used by widgets. For not used data source, the data source will not be created. | |
boolean | If any layer in the layer tree is invisible, the layer is considered invisible |
getMapSceneView
getMapSceneView(): MapView | SceneView
Return the MapView or SceneView of the layer view.
Returns
MapView | SceneView
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.