ArcGISLayer

Namespace: Esri::GameEngine::Layers::Base
Class: Esri/GameEngine/Layers/Base/ArcGISLayer
Since: 1.0.0
Implements: ArcGISLoadable

Summary

Abstract class layer, base for layers.

Constructors

ArcGISLayer(const FString&, ArcGISLayerType, const FString&)

Creates a new layer.

Since 1.0.0

Arguments
NameTypeConstSummary
source
Yes

Layer source.

type
No

Layer type definition.

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.

Yes
Yes

The full extent of this layer, which is the extent where all layer data is contained.

No
No

Layer visible true or false.

No
No

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

No
No

Layer Opacity.

No
Yes

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

Yes
Yes

The spatial reference of the layer.

APIKey

FString GetAPIKey() const

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

Extent

ArcGISExtentRectangle GetExtent() const

The full extent of this layer, which is the extent where all layer data is contained.

You can use this to zoom to all of the data contained in this layer.

IsVisible

bool GetIsVisible() const

void SetIsVisible(bool isVisible)

Layer visible true or false.

Name

FString GetName() const

void SetName(const FString& name)

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

Opacity

float GetOpacity() const

void SetOpacity(float opacity)

Layer Opacity.

Source

FString GetSource() const

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

SpatialReference

ArcGISSpatialReference GetSpatialReference() const

The spatial reference of the layer.

ArcGISImageLayer ArcGISSpatialReference must match the ArcGISSpatialReference of the ArcGISMap. ArcGISImageLayer tiling scheme must be compatible with the tiling scheme of the ArcGISMap. If any of the above constraints are violated, an ArcGISLayerViewState error is generated.

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