Interface
JimuLayerViewConstructorOptions
is used in the constructor of the JimuLayerView
, to initiate a JimuLayerView
instance.
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 jimuLayerId is a string that connects the layer.id in the layer tree with "-" | |
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. | |
MapViewManager | Pass MapViewManager in to avoid circular dependency. | |
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)) |
fromRuntime
Interface PropertyfromRuntime: 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.
jimuLayerId
Interface PropertyjimuLayerId: string
The jimuLayerId is a string that connects the layer.id in the layer tree with "-"
jimuMapViewId
Interface PropertyjimuMapViewId: string
The jimuMapViewId is the corresponding JimuMapView instance id.
layer
Interface Propertylayer: any
The layer is the corresponding layer object in ArcGIS JavaScript API View.map.
layerDataSourceId
Interface PropertylayerDataSourceId: string
The layerDataSourceId is the corresponding datasource id.
mapViewManager
Interface PropertymapViewManager: MapViewManager
Pass MapViewManager in to avoid circular dependency.
type
Interface 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))