Map and scene view

The view concept is the same as the ArcGIS API for JavaScript, however in ArcGIS Experience Builder, the view is wrapped as JimuMapView to ensure a consistent extensibility model when creating widgets, message/actions, etc. To create a JimuMapView object, a widget can use the JimuMapViewManager.createJimuMapView() method. A JimuMapView object has these main properties:

  • view: the map/scene view object.
  • datasourceId: the data source (webmap/webscene) that creates the view
  • mapWidgetId: the widget that creates the object
  • jimuLayerViews: the layer view object wrapper

The widget that needs to use the map/scene view can use the JimuMapViewSelector component in the setting page to select a map/scene view. This will also use JimuMapViewComponent to access the JimuMapView object.

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