Skip to main content

flywave-mapview.elevationprovider.sampleheight

Home > @flywave/flywave-mapview > ElevationProvider > sampleHeight

ElevationProvider.sampleHeight() method

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

Signature:

sampleHeight(geoPoint: GeoCoordinates, tileDisplacementMap: TileDisplacementMap): number;

Parameters

Parameter

Type

Description

geoPoint

GeoCoordinates

geo position to query height for.

tileDisplacementMap

TileDisplacementMap

Displacement map where the height will be sampled.

Returns:



number

The height at geoPoint.