Interface
JimuLayerViewConstructorOptions is used in the constructor of the JimuLayerView to initiate a JimuLayerView instance.
Properties
| Property | Type | Notes |
|---|---|---|
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. |
jimuLayerId | string | The jimuLayerId is a string that connects the layer.id in the layer tree with "-" |
jimuMapViewId | string | The jimuMapViewId is the corresponding JimuMapView instance id. |
layer | any | The layer is the corresponding layer object in ArcGIS JavaScript API View.map. |
layerDataSourceId | string | The layerDataSourceId is the corresponding data source id. |
mapViewManager | MapViewManager | Pass MapViewManager in to avoid circular dependency. |
type | string | The layer type, see ArcGIS Maps SDK for JavaScript Layer type. |
fromRuntime
Interface PropertyfromRuntime: booleantrue 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: stringThe jimuLayerId is a string that connects the layer.id in the layer tree with "-"
jimuMapViewId
Interface PropertyjimuMapViewId: stringThe jimuMapViewId is the corresponding JimuMapView instance id.
layer
Interface Propertylayer: anyThe layer is the corresponding layer object in ArcGIS JavaScript API View.map.
layerDataSourceId
Interface PropertylayerDataSourceId: stringThe layerDataSourceId is the corresponding data source id.
mapViewManager
Interface PropertymapViewManager: MapViewManagerPass MapViewManager in to avoid circular dependency.
type
Interface Propertytype: stringThe layer type, see ArcGIS Maps SDK for JavaScript Layer type.