mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-21 00:03:45 +08:00
bigger map tile cache (#30228)
* bigger map tile cache * start with 2x default * Update selfdrive/ui/qt/maps/map_helpers.cc old-commit-hash: 08054e98009ca90b1b058a63eebccd8dedf57d48
This commit is contained in:
@@ -21,6 +21,7 @@ QMapboxGLSettings get_mapbox_settings() {
|
||||
|
||||
if (!Hardware::PC()) {
|
||||
settings.setCacheDatabasePath(MAPS_CACHE_PATH);
|
||||
settings.setCacheDatabaseMaximumSize(100 * 1024 * 1024);
|
||||
}
|
||||
settings.setApiBaseUrl(MAPS_HOST);
|
||||
settings.setAccessToken(get_mapbox_token());
|
||||
|
||||
Reference in New Issue
Block a user