Altitude in POI edit #25

Open
opened 2026-07-06 18:46:39 +00:00 by erik · 0 comments
Owner

This POI has GPSAltitude=815:

http://localhost:5173/trips/9ad2e88d-bc76-4e96-afb2-7dc45e1489e2/pois/25954e35-98a0-4fbb-98d2-0c85870788a2/edit

but it is not shown in the edit. That is the first issue - should be a simple fix. The second issue is probably more complex: when dragging the pin to adjust the coordinates, the Latitude & Longitude change but Altitude does not. There should be a Mapbox API to query the altitude of a point on the map such as queryTerrainElevation().

https://docs.mapbox.com/mapbox-gl-js/api/map/#map#queryterrainelevation

This POI has GPSAltitude=815: http://localhost:5173/trips/9ad2e88d-bc76-4e96-afb2-7dc45e1489e2/pois/25954e35-98a0-4fbb-98d2-0c85870788a2/edit but it is not shown in the edit. That is the first issue - should be a simple fix. The second issue is probably more complex: when dragging the pin to adjust the coordinates, the Latitude & Longitude change but Altitude does not. There should be a Mapbox API to query the altitude of a point on the map such as queryTerrainElevation(). https://docs.mapbox.com/mapbox-gl-js/api/map/#map#queryterrainelevation
Sign in to join this conversation.
No description provided.