Class
The JimuSceneLayerView extends from the JimuLayerView.
Properties
Property | Type | Notes |
---|---|---|
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. |
SceneLayer | The | |
layerDataSourceId inherited | string | The layerDataSourceId is the corresponding datasource 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]]((https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html#type)) |
SceneLayerView | The |
fromRuntime
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
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
Class Propertylayer: SceneLayer
The layer
is the ArcGIS Maps SDK for JavaScript SceneLayer
.
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 |
---|---|---|
getAllAncestorJimuLayerViews() inherited | Get all ancestor JimuLayerViews. | |
getMapSceneView() inherited | MapView | SceneView | Return the MapView or SceneView of the layer view. |
getParentJimuLayerView() inherited | Get parent JimuLayerView. | |
isLayerVisible() inherited | 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