ArcGISTiledElevationSource

class ArcGISTiledElevationSource : ElevationSource

An instance of this class represents an elevation source that can visualize ArcGIS elevation image service.

Constructors

Link copied to clipboard
fun ArcGISTiledElevationSource()

Creates a ArcGIS tiled elevation source object. An ArcGIS tiled elevation source is added to a Surface and provides elevation data that layers may be draped or offset from. The ArcGIS tiled elevation source uses an ArcGIS Image service to provide the elevation data.

Link copied to clipboard
fun ArcGISTiledElevationSource(item: Item)

Creates an ArcGIS tiled elevation source with a portal item. An ArcGIS tiled elevation source is added to a Surface and provides elevation data on which layers may be draped or offset from. The ArcGIS tiled elevation source uses an ArcGIS Image service to provide the elevation data.

Link copied to clipboard
fun ArcGISTiledElevationSource(tileCache: TileCache)

Creates an ArcGIS tiled elevation source with a Tile cache. An ArcGIS tiled elevation source is added to a Surface and provides elevation data that layers may be draped or offset from. The ArcGIS tiled elevation source uses a Tile cache to provide the elevation data. Only tile caches that contain LERC tiles are supported. Use an ExportTileCacheTask to create an offline tile cache from an elevation image service.

Link copied to clipboard
fun ArcGISTiledElevationSource(uri: String)

Creates a ArcGIS tiled elevation source with using a URL to an elevation service object. An ArcGIS tiled elevation source is added to a Surface and provides elevation data on which layers may be draped or offset from. The ArcGIS tiled elevation source uses an ArcGIS Image service to provide the elevation data.

Functions

Link copied to clipboard
open override fun cancelLoad()

Cancels loading metadata for the Loadable object.

Link copied to clipboard
open suspend override fun load(): Result<Unit>

Loads the metadata for the object.

Link copied to clipboard
open suspend override fun retryLoad(): Result<Unit>

Loads or retries loading metadata for the object.

Properties

Link copied to clipboard
var isEnabled: Boolean

The "is enabled" state for the elevation source. The "is enabled" state of the elevation source object which indicates if this elevation source participates in the generation of the surface Surface.

Link copied to clipboard
val item: Item?
Link copied to clipboard
open override val loadStatus: StateFlow<LoadStatus>

The load status.

Link copied to clipboard
var name: String

The name for the elevation source. The name of the elevation source.

Link copied to clipboard
val tileCache: TileCache?
Link copied to clipboard
val uri: String?

The URI of the ArcGIS tiled elevation source. The elevation source URI in the ArcGIS tiled elevation source. This method can't be called once the elevation source is loading else ErrorType.CommonIllegalState exception will occur.