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
This commit is contained in:
1 parent
e62eb90dc7
commit
27313b3101
7 files changed
+144
-22
No files matched your search
+2
-1
@@ -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 }) => {
|
||||
|
||||
Reference in new issue
Block a user