Openstreetmap support (#2765)

This commit is contained in:
Totoo
2025-08-27 08:37:57 +02:00
committed by GitHub
parent e6d4081c06
commit 4dda7cfaa5
20 changed files with 447 additions and 162 deletions
+1 -1
View File
@@ -440,7 +440,7 @@ static void _sumlr(void);
#undef __O
#undef __P
#define PI 3.141592653589793
#include "mathdef.hpp"
static void _numinput(byte k);
static double dpush(double d);
+1 -1
View File
@@ -31,7 +31,7 @@ int HALF_HEIGHT = 0;
#define JOGGING_SPEED 1.2
#define MAX_ENTITY_DISTANCE 200
#define ITEM_COLLIDER_DIST 6
#define PI 3.14159265358979323846
#include "mathdef.hpp"
#define GUN_WIDTH 30
#define GUN_HEIGHT 40
#define GUN_TARGET_POS 24
@@ -158,9 +158,10 @@ WardriveMapView::WardriveMapView(NavigationView& nav)
}
// never move this before the first load() bc that will mess load up
geomap.on_move = [this](float lon, float lat) {
geomap.on_move = [this](float lon, float lat, bool absolute) {
(void)lon;
(void)lat;
(void)absolute;
load_markers();
};
btn_back.on_select = [this, &nav](Button&) {