Skip to content

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
sourcestring

Layer source.

typeArcGISLayerType

Layer type definition.

APIKeystring

API key used to load data.

Properties

PropertyTypeNullableReadonlySummary
APIKeystringNoYes

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

ExtentArcGISExtentRectangleYesYes

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

IsVisibleboolNoNo

Layer visible true or false.

NamestringNoNo

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

OpacityfloatNoNo

Layer Opacity.

SourcestringNoYes

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

SpatialReferenceArcGISSpatialReferenceYesYes

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.