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
basemap
No

Specifies the basemap.

mapType
No

Specifies the map type.

ArcGISMap(ArcGISMapType)

Create a new map with the specified ArcGISMapType.

Since 1.0.0

Arguments
NameTypeConstSummary
mapType
No

Specifies the map type.

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

Since 1.0.0

Arguments
NameTypeConstSummary
spatialReference
Yes

A spatial reference object.

mapType
No

Specifies the map type.

Properties

PropertyTypeNullableReadonlySummary
Yes
No

Definition for basemap.

Yes
No

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

No
No

Definition of map elevation.

ArcGISCollection<ArcGISLayer>
No
No

List of ArcGISLayer included on the map.

No
Yes

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

Yes
Yes

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.