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 sended on loading process to match the new credit system.

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 will be a read only, it will be setup on the constructor

Yes
Yes

The spatial reference of the layer.

APIKey

FString GetAPIKey() const

API Key will be sended on loading process to match the new credit system.

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 will be a read only, it will be setup 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, a 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.