I have written a small app with qt and arcgis 100.3. When the gps information changes the slot LocationChanged is called. I thought that I would get the altitude from Location.position.z. But I always get 0 for the altitude.
What do I have to do to get the actual altitude?
void FlightMap::locationChanged(Esri::ArcGISRuntime::Location location)
{
Point pos=location.position();
x=pos.x();
y=pos.y();
z=pos.z();
}