getElevation

abstract fun getElevation(latitude: Angle, longitude: Angle, retrieve: Boolean): Float

Gets elevation at specified location

Return

elevation value at specified location or the elevation model's MISSING_DATA replacement value if there is no elevation for the given location

Parameters

latitude

location latitude

longitude

location longitude

retrieve

if true, then the value will be retrieved from a remote source for the next frame