getAltitude

open fun getAltitude(): Double

Returns the altitude, as measured in meters above sea-level. Geocoordinates with positive altitudes represent points above the plane of the map, while negative altitudes are below the plane of the map. Please note that the result might be an uninitialized double value as altitude is currently not supported. You can use the hasValidAltitude() function to determine whether the altitude value is valid or not.