JimuMapView

Class

JimuMapView is the view for developers to develop the related map function. For example, developers can use the view property of the JimuMapView instance to get the original arcgis api 4.x view, then use the original view to develop the related map function. At the same time, JimuMapView also provides properties such as isActive, status, etc. to indicate the current status in the map widget.

Constructors

constructor

new JimuMapView(optionsJimuMapViewConstructorOptions): JimuMapView
Parameters
  • optionsJimuMapViewConstructorOptions
Returns 
JimuMapView

Properties

datasourceId

datasourceId: string

The id of the datasource selected to create the map.

id

id: string

The id of the JimuMapView instance.

isActive optional

isActive: boolean

The isActive property indicates whether the map in the map widget is accessible. For example, for single-source map, isActive is always true; for multi-source map, there are two JimuMapView instances in it. The property isActive is true for the JimuMapView instance above, and false for the one beneath; after clicking on the switch-map tool, the isActive properties will switch.

jimuLayerViews optional

jimuLayerViews: object

The union for all JimuLayerView instances.

Type declaration

mapWidgetId

mapWidgetId: string

The id of the widget which creates the JimuMapView instance.

status

status: JimuMapViewStatus

The status for the JimuMapView instance.

view

view: MapView | SceneView

The view is arcgis api 4.x view, including esri.MapView or esri.SceneView.

Methods

destroy

destroy(): void

Destroy the JimuMapView instance, and also destroy the arcgis 4.x view at the same time.

Returns 
void

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