Namespace: Esri::GameEngine::Map
Class: Esri/GameEngine/Map/ArcGISBasemap
Since: 1.0.0
Implements: ArcGISInstanceId, ArcGISLoadable

Summary

Public class that will contain a basemap.

Constructors

ArcGISBasemap()

Creates an empty ArcGISBasemap. Basemap is created in a loaded state.

Since 1.0.0

ArcGISBasemap(ArcGISBasemapStyle basemapStyle, const FString& APIKey)

Creates a basemap with a style.

Since 1.1.0

Arguments
NameTypeConstSummary
basemapStyle
No

The basemap style.

APIKey
Yes

API key used to load data.

ArcGISBasemap(const FString& source, ArcGISLayerType type, const FString& APIKey)

Creates an ArcGISBasemap from a URI and ArcGISLayerType.

Since 1.0.0

Arguments
NameTypeConstSummary
source
Yes

ArcGISLayer source.

type
No

Layer type definition.

APIKey
Yes

API key used to load data.

ArcGISBasemap(const FString& source, const FString& APIKey)

Creates an ArcGISBasemap from a basemap URI.

Since 1.0.0

Arguments
NameTypeConstSummary
source
Yes

ArcGISBasemap source.

APIKey
Yes

API key used to load data.

Properties

PropertyTypeNullableReadonlySummary
No
Yes

API key will be sent with every request for ArcGIS location services and/or private content items.

ArcGISCollection<ArcGISLayer>
No
No

The base layers.

No
No

This property will help the user to identify the layer on his application.

ArcGISCollection<ArcGISLayer>
No
No

The reference layers.

No
Yes

Source property is read-only, it will be set up on the constructor.

APIKey

FString GetAPIKey() const

API key will be sent with every request for ArcGIS location services and/or private content items.

BaseLayers

ArcGISCollection<ArcGISLayer> GetBaseLayers() const

void SetBaseLayers(const ArcGISCollection<ArcGISLayer>& baseLayers)

The base layers.

The ArcGISCollection is specific to each ArcGISMap or ArcGISBasemap. It is not possible to reuse ArcGISCollection instances between maps or basemaps. Create a new layer collection using ArcGISCollection.

Name

FString GetName() const

void SetName(const FString& name)

This property will help the user to identify the layer on his application.

ReferenceLayers

ArcGISCollection<ArcGISLayer> GetReferenceLayers() const

void SetReferenceLayers(const ArcGISCollection<ArcGISLayer>& referenceLayers)

The reference layers.

The ArcGISCollection is specific to each ArcGISMap or ArcGISBasemap. It is not possible to reuse ArcGISCollection instances between maps or basemaps. Create a new layer collection using ArcGISCollection.

Source

FString GetSource() const

Source property is read-only, it will be set up on the constructor.

Methods

SignatureReturn TypeSummary

Tests if this basemap is equal to a second ArcGISBasemap object.

Equals

bool Equals(const ArcGISBasemap& otherBasemap) const

Tests if this basemap is equal to a second ArcGISBasemap object.

Since 2.1.0

Arguments
NameTypeConstSummary
otherBasemap
Yes

The other basemap.

Returns bool

True if the comparison succeeds and the objects are equal, false otherwise.