Navigation banner across the top (the next maneuver's arrow by Valhalla's type, distance, street, then…, lanes, the street being driven; maneuvers gain type/street/exit); the driving view (tilted to 3D) hides route numbers and minor roads' names, road labels further apart
CI / check (push) Successful in 22s
CI / deploy (push) Successful in 17s

This commit is contained in:
randy committed 2026-11-30 20:06:44 +01:00
1 parent e62eb90dc7
commit 27313b3101
7 files changed
+144 -22

No files matched your search

+2 -1
View File
@@ -24,7 +24,7 @@ import { notifySidePanelOpen, onlyOneSidePanelOpen, setupSidePanelModes } from "
import { isLoggedIn } from "/js/auth.js";
import { DebugControl } from "/js/debug.js";
import { setupUpdate } from "/js/update.js";
import { patchOnlineStyle, patternImage, PATTERN_IDS, NightMap } from "/js/map_themes.js";
import { patchOnlineStyle, patternImage, PATTERN_IDS, NightMap, declutterWhenDriving } from "/js/map_themes.js";
import { offerSharedFiles } from "/js/share_import.js";
import HomeButton from "/vendor/npmap-home-button/home-button.esm.js";
import OverviewMap from "/vendor/npmap-overview/overview.esm.js";
@@ -485,6 +485,7 @@ const addPatterns = () => {
}
};
map.on("style.load", addPatterns);
declutterWhenDriving(map);
if (map.isStyleLoaded()) addPatterns();
// Still the fallback for one asked for before that.
map.on("styleimagemissing", ({ id }) => {