Class
The JimuSceneLayerView 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)) | |
SceneLayerView | 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: SceneLayerView
The view
is the ArcGIS Maps SDK for JavaScript SceneLayerView
.
Methods
Method | Returns | Notes |
---|---|---|
Get all ancestor JimuLayerViews. | ||
MapView | SceneView | Return the MapView or SceneView of the layer view. | |
Get parent JimuLayerView. | ||
boolean | If any layer in the layer tree is invisible, the layer is considered invisible |
getAllAncestorJimuLayerViews
getAllAncestorJimuLayerViews(): JimuLayerView[]
Get all ancestor JimuLayerViews.
Returns
JimuLayerView[]
getMapSceneView
getMapSceneView(): MapView | SceneView
Return the MapView or SceneView of the layer view.
Returns
MapView | SceneView
getParentJimuLayerView
getParentJimuLayerView(): JimuLayerView
Get parent JimuLayerView.
Returns
JimuLayerView
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.