JimuLayerViewConstructorOptions

Interface

JimuLayerViewConstructorOptions is used in the constructor of the JimuLayerView to initiate a JimuLayerView instance.

Properties

PropertyTypeNotes
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 data source id.

MapViewManager

Pass MapViewManager in to avoid circular dependency.

string

The layer type, see ArcGIS Maps SDK for JavaScript Layer type.

fromRuntime

Interface Property
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

Interface Property
jimuLayerId: string

The jimuLayerId is a string that connects the layer.id in the layer tree with "-"

jimuMapViewId

Interface Property
jimuMapViewId: string

The jimuMapViewId is the corresponding JimuMapView instance id.

layer

Interface Property
layer: any

The layer is the corresponding layer object in ArcGIS JavaScript API View.map.

layerDataSourceId

Interface Property
layerDataSourceId: string

The layerDataSourceId is the corresponding data source id.

mapViewManager

Interface Property
mapViewManager: MapViewManager

Pass MapViewManager in to avoid circular dependency.

type

Interface Property
type: string

The layer type, see ArcGIS Maps SDK for JavaScript Layer type.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.