2025-02-24 16:04:51 +01:00
|
|
|
#include "graphics/map/MapTileSettings.h"
|
|
|
|
|
#include "lv_conf.h"
|
|
|
|
|
#include "lvgl.h"
|
|
|
|
|
|
|
|
|
|
uint8_t MapTileSettings::zoomLevel = 13; // current zoomLevel
|
|
|
|
|
uint8_t MapTileSettings::zoomDefault = 13; // default for initial or home position
|
|
|
|
|
uint16_t MapTileSettings::tileSize = 256;
|
|
|
|
|
uint32_t MapTileSettings::cacheSize = 50 * 1024; // LV_FS_CACHE_FROM_BUFFER
|
|
|
|
|
float MapTileSettings::defaultLat = 51.5003646652f; // @theBigBentern
|
|
|
|
|
float MapTileSettings::defaultLon = -0.1214328476f;
|
2025-02-26 03:15:23 +01:00
|
|
|
char MapTileSettings::prefix[10] = "/maps"; // default map tile directory
|
|
|
|
|
char MapTileSettings::tileStyle[20] = ""; // { osm/, atlas/, atlas-mobile/, ...}
|
|
|
|
|
char MapTileSettings::tileFormat[10] = "png"; // use jpg or png
|
2025-02-24 16:04:51 +01:00
|
|
|
bool MapTileSettings::debug = false;
|