ArcGISLayer

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

Summary

Abstract class layer, base for layers.

Constructors

Creates a new layer.

Since 1.0.0

Arguments
NameTypeSummary
source

Layer source.

type

Layer type definition.

APIKey

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

string APIKey

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

Extent

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 IsVisible

Layer visible true or false.

Name

string Name

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

Opacity

float Opacity

Layer Opacity.

Source

string Source

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

SpatialReference

ArcGISSpatialReference SpatialReference

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.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close