JimuMapViewConstructorOptions

Interface

JimuMapViewConstructorOptions is used in the constructor of the JimuMapView , to initiate a JimuMapView instance.

Properties

PropertyTypeNotes
string

The dataSourceId is the id of the datasource selected to create the map.

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.

boolean

The isEnablePopup property indicates whether to display popups when features in the view are clicked.

MapViewManager

Pass MapViewManager in to avoid circular dependency.

string

The widget id to create the JimuMapView instance.

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 .

dataSourceId

Interface Property
dataSourceId: string

The dataSourceId is the id of the datasource selected to create the map.

isActive

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

optional
Interface Property
isEnablePopup: boolean

The isEnablePopup property indicates whether to display popups when features in the view are clicked.

mapViewManager

Interface Property
mapViewManager: MapViewManager

Pass MapViewManager in to avoid circular dependency.

mapWidgetId

Interface Property
mapWidgetId: string

The widget id to create the JimuMapView instance.

view

Interface Property
view: 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 .

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