-
Notifications
You must be signed in to change notification settings - Fork 226
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Before submitting
- I have searched existing issues to make sure this bug hasn't already been reported
- I have updated to the latest version of the software to verify the issue still exists
- I have cleared cache/cookies/storage or tried in a private/incognito window (if applicable)
Hardware
Not Applicable
Connection Type
HTTP
Local or Hosted
Firmware Version
not reported by that node
Operating System
Windows 11
Browser
Chrome
Expected Behavior
Display the map.
Actual Behavior
Web app crashes with this message.
One node close by sends an invalid latitude value, which apparently is not sanitized before sent to the map rendering library.
Steps to Reproduce
Have a known node that reports invalid coordinates.
Relevant console output
Error: Invalid LngLat latitude value: must be between -90 and 90
at new rs (http://xxx:81/maplibre-gl-DLDOTi5c.js:5:181046)
at rs.convert (http://xxx:81/maplibre-gl-DLDOTi5c.js:5:181532)
at za.setLngLat (http://xxx:81/maplibre-gl-DLDOTi5c.js:751:88263)
at http://xxx:81/index-C9olJJTU.js:612:131974
at Object.useMemo (http://xxx:81/index-C9olJJTU.js:70:61044)
at Kz.Xe.useMemo (http://xxx:81/index-C9olJJTU.js:17:7324)
at http://xxx:81/index-C9olJJTU.js:612:131817
at zb (http://xxx:81/index-C9olJJTU.js:70:48430)
at UA (http://xxx:81/index-C9olJJTU.js:70:67993)
at XA (http://xxx:81/index-C9olJJTU.js:70:83703)Screenshots
No response
Additional Context
Raw data from that node:
,
"position": {
"$typeName": "meshtastic.Position",
"time": 1764836725,
"locationSource": 2,
"altitudeSource": 0,
"timestamp": 0,
"timestampMillisAdjust": 0,
"PDOP": 0,
"HDOP": 0,
"VDOP": 0,
"gpsAccuracy": 0,
"fixQuality": 0,
"fixType": 0,
"satsInView": 0,
"sensorId": 0,
"nextUpdate": 0,
"seqNumber": 0,
"precisionBits": 0,
"latitudeI": 1073741824,
"longitudeI": 1073741824,
"altitude": 369
},
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working