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
ArcGISMap(ArcGISBasemap&, ArcGISMapType)
Create a new map with the specified ArcGISBasemap and the ArcGISMapType.
Since 1.0.0
Arguments
Name | Type | Const | Summary |
---|---|---|---|
basemap | No | Specifies the basemap. | |
map | No | Specifies the map type. |
ArcGISMap(ArcGISMapType)
Create a new map with the specified ArcGISMapType.
Since 1.0.0
Arguments
Name | Type | Const | Summary |
---|---|---|---|
map | No | Specifies the map type. |
ArcGISMap(const ArcGISSpatialReference&, ArcGISMapType)
Creates a new map with the specified spatial reference and the ArcGISMapType.
Since 1.0.0
Arguments
Name | Type | Const | Summary |
---|---|---|---|
spatial | Yes | A spatial reference object. | |
map | No | Specifies the map type. |
Properties
Property | Type | Nullable | Readonly | Summary |
---|---|---|---|---|
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.
SpatialReference
ArcGISSpatialReference GetSpatialReference() const
The spatial reference for the map.