JimuLayerView
Class
JimuLayerView
is a wrapper class for ArcGIS Maps SDK for JavaScript LayerView
.
It is created by a JimuMapView
using a layer DataSource
.
Constructors
constructor
Class Constructornew JimuLayerView(options: JimuLayerViewConstructorOptions): JimuLayerView
Parameters
Parameter | Type |
---|---|
options | JimuLayerViewConstructorOptions |
Returns
JimuLayerView
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)) | |
LayerView | The |
jimuMapViewId
Class PropertyjimuMapViewId: string
The jimuMapViewId is the corresponding JimuMapView instance id.
layer
Class Propertylayer: any
The layer is the corresponding layer object in ArcGIS JavaScript API View.map.
layerDataSourceId
Class PropertylayerDataSourceId: string
The layerDataSourceId is the corresponding datasource id.
type
Class Propertytype: 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: LayerView
The view
is the ArcGIS Maps SDK for JavaScript LayerView
.
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. | |
void | Select feature | |
selectFeaturesByIds(ids) | void | Select features |
getLayerDataSource
Class MethodgetLayerDataSource(): DataSource
Return the cooresponding data source of the layer
Returns
DataSource
getMapSceneView
Class MethodgetMapSceneView(): MapView | SceneView
Return the MapView or SceneView of the layer view.
Returns
MapView | SceneView
id: string
The id of the JimuLayerView instance. It connects the JimuMapView.id and the JimuLayerId with "-"