Drop gpsd support and the GNSS simulator service: the car's GNSS comes over CAN later; /api/gnss/position and the GNSS control stay, fed through GNSS_LATEST
This commit is contained in:
1 parent
09a9d8baba
commit
49900c1703
10 files changed
+22
-133
No files matched your search
+2
-2
@@ -378,8 +378,8 @@ if (isLoggedIn()) map.addControl(new NotesControl(), "top-left");
|
||||
// element) can still happen later.
|
||||
const gnssControl = new GnssControl(map);
|
||||
// Not MapLibre's own GeolocateControl (browser Geolocation API only) —
|
||||
// this app has its own GNSS receiver (gpsd, possibly a simulated one, see
|
||||
// bin/gnss_simulator.rb), and "find my location" should prefer that over a
|
||||
// this app has its own GNSS receiver (the car's, see app.rb's
|
||||
// GNSS_LATEST), and "find my location" should prefer that over a
|
||||
// device's separate, often less accurate location service, but only once
|
||||
// the "GNSS" sidebar icon actually turns it on — not just whenever a
|
||||
// receiver happens to have a fix. See locate.js.
|
||||
|
||||
Reference in new issue
Block a user