Interface
JimuMapViewConstructorOptions
is used in the constructor of the JimuMapView
, to initiate a JimuMapView
instance.
Properties
Property | Type | Notes |
---|---|---|
string | The | |
boolean | The | |
boolean | The | |
MapViewManager | Pass MapViewManager in to avoid circular dependency. | |
string | The widget id to create the | |
MapView | SceneView | The |
dataSourceId
Interface PropertydataSourceId: string
The dataSourceId
is the id of the datasource selected to create the map.
isActive
isActive: boolean
The 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: boolean
The isEnablePopup
property indicates whether to display popups when features in the view
are clicked.
mapViewManager
Interface PropertymapViewManager: MapViewManager
Pass MapViewManager in to avoid circular dependency.
view
Interface Propertyview: MapView | SceneView
The 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
.