Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Altitude displays N/A in GPS Info panel when antenna height contains an invalid (NaN) value

Open
#4,597 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
68/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
cpp
Domain
mobile

Research direction

Start by locating the GPS Info panel and the code that combines antenna height with altitude, then reproduce the issue with an invalid antenna-height value for both internal and external GPS. Done means the panel still shows the raw GPS altitude or a clear invalid-height warning instead of N/A; verify the result on iOS and Android paths.

Written by the indexing model from the issue text.

Description

bug GPS ui/ux

Description

When the antenna height field contains a NaN (Not a Number / invalid non-numeric) value, the Altitude field in the GPS Info panel displays N/A instead of the actual GPS altitude. This affects both internal and external GPS connections and is reproducible on both iOS and Android.

Environment

[x] Staging

Application (+ app version, build, operating system)

Mergin Maps Mobile App

  • iOS version: 2025.6.0 — iOS 26.0 / iOS: 26.6.921312
  • Android version: 2025.6.0 — Samsung Galaxy A53 5G, Android 15

Steps to reproduce

  1. Open the Mergin Maps mobile app.
  2. Navigate to the GPS Info panel.
  3. Set the antenna height field to an invalid or non-numeric value (NaN).
  4. Observe the Altitude field in the GPS Info panel.
  5. Repeat with both internal GPS and an external GPS receiver.

Actual results

The Altitude field in the GPS Info panel displays N/A when the antenna height contains an invalid (NaN) value. This occurs for both internal and external GPS connections.

Expected results

The Altitude field should display the actual GPS altitude regardless of the antenna height value. If the antenna height is invalid, the app should either:

  • Fall back to displaying the raw GPS altitude without antenna height correction, or
  • Display a clear warning that the antenna height value is invalid, while still showing the GPS altitude.

Screenshots or logs
(Please attach screenshots or relevant logs if available)

https://github.com/user-attachments/assets/ac255cc5-1bc8-4b1a-b24a-bbf2626e5c7a

Conclusion
Created by Claude and supervised by a human test analyst.

Dominant language
C++
Stars
388
Forks
87
Avg merge
4d 1h
Merged PRs (30d)
23

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from MerginMaps/mobile

All issues in MerginMaps/mobile

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.