Skip to content

ArcGISMap

Namespace: Esri::GameEngine::Map
Class: Esri/GameEngine/Map/ArcGISMap
Since: 1.0.0
Implements: ArcGISLoadable

Summary

The ArcGISMap is a container for layers, elevation, and additional properties such as the ArcGISMapType and the clipping area.

Constructors

Create a new map with the specified ArcGISBasemap and the ArcGISMapType.

Since 1.0.0

Arguments
NameTypeConstSummary
basemapArcGISBasemapNo

Specifies the basemap.

mapTypeArcGISMapTypeNo

Specifies the map type.

ArcGISMap(ArcGISMapType)

Create a new map with the specified ArcGISMapType.

Since 1.0.0

Arguments
NameTypeConstSummary
mapTypeArcGISMapTypeNo

Specifies the map type.

Creates a new map with the specified spatial reference and the ArcGISMapType.

Since 1.0.0

Arguments
NameTypeConstSummary
spatialReferenceArcGISSpatialReferenceYes

A spatial reference object.

mapTypeArcGISMapTypeNo

Specifies the map type.

Properties

PropertyTypeNullableReadonlySummary
BasemapArcGISBasemapYesNo

Definition for basemap.

ClippingAreaArcGISExtentYesNo

Definition of map's clipping area. This property will be applied in Local mode only.

ElevationArcGISMapElevationNoNo

Definition of map elevation.

LayersArcGISCollection<ArcGISLayer>NoNo

List of ArcGISLayer included on the map.

MapTypeArcGISMapTypeNoYes

Definition for the map, if it's local or global.

SpatialReferenceArcGISSpatialReferenceYesYes

The spatial reference for the map.

Basemap

ArcGISBasemap GetBasemap() const

void SetBasemap(const ArcGISBasemap& basemap)

Definition for basemap.

ClippingArea

ArcGISExtent GetClippingArea() const

void SetClippingArea(const ArcGISExtent& clippingArea)

Definition of map's clipping area. This property will be applied in Local mode only.

Setting a non-null clipping area in Global mode will result in an error.

Elevation

ArcGISMapElevation GetElevation() const

void SetElevation(const ArcGISMapElevation& elevation)

Definition of map elevation.

Layers

ArcGISCollection<ArcGISLayer> GetLayers() const

void SetLayers(const ArcGISCollection<ArcGISLayer>& layers)

List of ArcGISLayer included on the map.

MapType

ArcGISMapType GetMapType() const

Definition for the map, if it's local or global.

SpatialReference

ArcGISSpatialReference GetSpatialReference() const

The spatial reference for the map.

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