mirror of
https://github.com/m5stack/meshtastic-device-ui.git
synced 2026-05-20 11:51:03 -07:00
14 lines
733 B
C++
14 lines
733 B
C++
#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;
|
|
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
|
|
bool MapTileSettings::debug = false; |