Arc GISMap
The map contains layers and additional properties and can be displayed in a MapView.
Constructors
Creates a map with a basemap style.
Creates a map with spatial reference.
Creates a map based on the given URL to a web map. A PortalItem will be created to reference the web map and accessible through ArcGISMap.getItem(). The supported URL formats are:
Types
Functions
Cancels loading metadata for the Loadable object.
Returns a list of all the UtilityNamedTraceConfiguration objects referenced by UtilityNetwork's Map. An empty array will be returned if the UtilityNetwork does not belong to the Map or if the Map does not contain any UtilityNamedTraceConfiguration objects.
Optional layers in a map or scene that show background information — roads, landmarks, and so on — to help orient the user of the map or scene. Typically image tile or vector tile layer types. Basemaps can be composed of different layers organized in Basemap.baseLayers (displayed beneath other layers) and {@link Basemap.referenceLayers (displayed on top of other layers). You can use ready-to-use basemaps, style your own with the ArcGIS Vector Tile Style Editor, or create and publish your own with ArcGIS Pro.
Properties
Optional layers in a map or scene that show background information—roads, landmarks, and so on—to help orient the user of the map or scene. Typically image tile or vector tile layer types. Basemaps can be composed of different layers organized in Basemap.baseLayers (displayed beneath other layers) and Basemap.referenceLayers (displayed on top of other layers). You can use ready-to-use basemaps, style your own with the ArcGIS Vector Tile Style Editor, or create and publish your own with ArcGIS Pro.
The reference scale for the map. The reference scale of the map is the scale at which a client should view the map for the feature symbols and text to appear at their authored size. If the client changes the viewing scale, then feature symbols and text will grow or shrink to keep a consistent size on the map (not the screen). This only happens if the reference scale is greater than zero and for feature layers that have scaleSymbols set to true, otherwise the symbols and text stay at their authored size. The reference scale will be zero if the map is not loaded or if there is no reference scale and the symbols and text should appear at default size regardless of the viewing scale. This property is intended to be used for new Map objects, that will have layers attached that expect a reference scale. Subsequent updates to the map.referenceScale will cause a redraw of all layers that use the referenceScale, and possible knock-on redraw of other layers that depend on them (e.g. dynamic labels that need to re-position to avoid overlaps)
A collection of transportation network datasets defined for the map or scene. Map and Scene authors can use ArcGIS Pro to create mobile map or scene packages containing maps and scenes that include transportation networks. If so, this property will be populated with the collection of TransportationNetworkDataset objects.
The version of the ArcGISMap or ArcGISScene when it is loaded. The version of a newly created ArcGISMap or ArcGISScene is empty. The version that the map or scene is saved to might differ from the version it was opened at. The version saved depends on the version of the API.