Skip to main content

flywave-mapview.elevationprovider

Home > @flywave/flywave-mapview > ElevationProvider

ElevationProvider interface

Signature:

export interface ElevationProvider 

Methods

Method

Description

clearCache()

Clears the internal cache.

getDisplacementMap(tileKey)

Get the displacement map for a given tile key. If the displacement map for the given tileKey is not in the cache a lower level tile will be returned.

getHeight(geoPoint, level)

Get elevation for a given geo point.

getTilingScheme()

rayCast(x, y)

Cast a ray through the given screen position x, y.

sampleHeight(geoPoint, tileDisplacementMap)

Samples elevation for a given geo point from the specified displacement map.