JimuSceneLayerView
Class
The JimuSceneLayerView extends from the JimuLayerView.
Constructors
constructor
Class Constructornew JimuSceneLayerView(options: JimuSceneLayerViewOptions): JimuSceneLayerView
Parameters
Parameter | Type |
---|---|
options | JimuSceneLayerViewOptions |
Returns
JimuSceneLayerView
Properties
Property | Type | Notes |
---|---|---|
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. | |
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 |
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.
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 |
---|---|---|
destroy() | void | Destroy the JimuLayerView instance. |
Return the cooresponding data source of the layer | ||
MapView | SceneView | Return the MapView or SceneView of the layer view. | |
selectFeatureById(id, record?) | void | Select feature |
selectFeaturesByIds(ids, records?) | void | Select features |
destroy
destroy(): void
Destroy the JimuLayerView instance.
Returns
void
getLayerDataSource
Class MethodgetLayerDataSource(): SceneLayerDataSource
Return the cooresponding data source of the layer
Returns
SceneLayerDataSource
getMapSceneView
getMapSceneView(): MapView | SceneView
Return the MapView or SceneView of the layer view.
Returns
MapView | SceneView
selectFeatureById
Class MethodselectFeatureById(id: string, record?: FeatureDataRecord): void
Select feature
Parameters
Parameter | Type |
---|---|
id | string |
record | FeatureDataRecord |
Returns
void
selectFeaturesByIds
Class MethodselectFeaturesByIds(ids: string[], records?: FeatureDataRecord[]): void
Select features
Parameters
Parameter | Type |
---|---|
ids | string[] |
records | FeatureDataRecord[] |
Returns
void
id: string
The id of the JimuLayerView instance. It connects the JimuMapView.id and the JimuLayerId with "-"