Interface
JimuMapViewConstructorOptions is used in the constructor of the JimuMapView , to initiate a JimuMapView instance.
Properties
| Property | Type | Notes |
|---|---|---|
dataSourceId | string | The |
isActive | boolean | The |
isEnablePopup | boolean | The |
mapViewManager | MapViewManager | Pass MapViewManager in to avoid circular dependency. |
mapWidgetId | string | The widget id to create the |
view | MapView | SceneView | The |
dataSourceId
Interface PropertydataSourceId: stringThe dataSourceId is the id of the selected data source to create the map.
isActive
isActive: booleanThe isActive property indicates whether the map in the map widget is accessible.
For example, for a single-source map, there is a single JimuMapView instance, therefore, the isActive is always true.
With a multi-source map, there are two JimuMapView instances. In the multi-source map, the property isActive is true for the top JimuMapView instance,
and false for the one beneath. Upon clicking the switch map tool, the isActive properties will switch.
isEnablePopup
isEnablePopup: booleanThe isEnablePopup property indicates whether to display popups when features in the view are clicked.
mapViewManager
Interface PropertymapViewManager: MapViewManagerPass MapViewManager in to avoid circular dependency.
view
Interface Propertyview: MapView | SceneViewThe view is the ArcGIS Maps SDK for JavaScript View, including a
MapView or a
SceneView . In the ArcGIS Maps SDK for JavaScript,
the MapView and SceneView are part of the __esri namespace types. Thus, their types are __esri.MapView and __esri.SceneView .