fix(map): isolate ESP tile IO from UI loop

This commit is contained in:
liu weikai
2026-06-15 16:10:25 +08:00
parent 00f8c6066d
commit 03119acb7d
10 changed files with 1648 additions and 357 deletions
@@ -22,6 +22,11 @@ void test_base_paths()
ref.layer = ui::map_tiles::MapTileLayer::Satellite;
assert(resolver.resolvePath(ref, path, sizeof(path)));
assert(std::strcmp(path, "/sd/maps/base/satellite/12/656/1582.jpg") == 0);
ui::map_tiles::MapTileResolver sd_root_resolver("/");
ref.layer = ui::map_tiles::MapTileLayer::Osm;
assert(sd_root_resolver.resolvePath(ref, path, sizeof(path)));
assert(std::strcmp(path, "/maps/base/osm/12/656/1582.png") == 0);
}
void test_contour_paths()