Files
maptool/public/drive/road.json
T
randy f73badd107
CI / check (push) Successful in 23s
CI / deploy (push) Successful in 17s
Drive as the Design canvas' Grid: the page as 16 × 10 cells from a screen profile (public/drive/road.json, {area, widget, …} per cell, to be edited in the app later), the map 13 × 8 with nothing over it; the manoeuvre, speed, limit, altitude, time, sun, status (online, rec), next stop with km / ETA to it and to the end, the route's elevation of the next 10 km, a compass; keys Trip, Points, Layers, Search, Menu, − + 3D Follow, Terrain, day/dusk/night. A menu opens in the right 7 × 8 as cells of its own and the map narrows to 9 × 8 (drive_menus.js): Trip and Search as GridTrip / GridSearch (a stop a row, ✓ ↑ ↓ ✕ a cell each; results with their pins on the map); Points as GridPoints (the library nearest the car — /api/search with no words and a center lists every saved feature nearest first — along the route ahead, shown, or one folder at a time; an eye per row, + a point as a stop); Layers as GridLayers (the On the map panel's own switches and Online | Offline, presets Road / Off-road / Overnight, + Keep); Terrain as GridTerrain (roll / pitch dials with the max held, climb and side slope ahead from the DEM, the next 2 km, Level here = can.json's levelling action in two taps), on by itself on an unpaved surface (/api/road now gives Valhalla's surface) or past 10° for 10 s, back after 2 km of paved road, automatic / by hand in the Menu. The dashboard polls for the grid without its overlay; the old drive bar and floating buttons gone
2026-12-03 10:47:40 +01:00

35 lines
1.9 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"name": "Road",
"screen": "16 × 10 cells (the navigator's 16″, 1280 × 800)",
"columns": 16,
"rows": 10,
"map": "2 / 1 / 10 / 14",
"menu": { "area": "2 / 10 / 10 / 17", "map": "2 / 1 / 10 / 10" },
"cells": [
{ "area": "1 / 1 / 2 / 5", "widget": "maneuver" },
{ "area": "1 / 5 / 2 / 7", "widget": "field", "value": "speed" },
{ "area": "1 / 7 / 2 / 9", "widget": "field", "value": "limit" },
{ "area": "1 / 9 / 2 / 11", "widget": "field", "value": "altitude" },
{ "area": "1 / 11 / 2 / 13", "widget": "field", "value": "time" },
{ "area": "1 / 13 / 2 / 15", "widget": "field", "value": "sun" },
{ "area": "1 / 15 / 2 / 17", "widget": "status" },
{ "area": "2 / 14 / 3 / 17", "widget": "field", "value": "nextStop", "small": true },
{ "area": "3 / 14 / 4 / 17", "widget": "field", "value": "toNextStop" },
{ "area": "4 / 14 / 5 / 17", "widget": "field", "value": "etaNextStop" },
{ "area": "5 / 14 / 6 / 17", "widget": "field", "value": "toEnd" },
{ "area": "6 / 14 / 9 / 17", "widget": "elevation", "km": 10 },
{ "area": "9 / 14 / 10 / 17", "widget": "compass" },
{ "area": "10 / 1 / 11 / 3", "widget": "key", "action": "trip" },
{ "area": "10 / 3 / 11 / 5", "widget": "key", "action": "points" },
{ "area": "10 / 5 / 11 / 7", "widget": "key", "action": "layers" },
{ "area": "10 / 7 / 11 / 9", "widget": "key", "action": "search" },
{ "area": "10 / 9 / 11 / 11", "widget": "key", "action": "menu" },
{ "area": "10 / 11 / 11 / 12", "widget": "key", "action": "zoomOut" },
{ "area": "10 / 12 / 11 / 13", "widget": "key", "action": "zoomIn" },
{ "area": "10 / 13 / 11 / 14", "widget": "key", "action": "pitch" },
{ "area": "10 / 14 / 11 / 15", "widget": "key", "action": "follow" },
{ "area": "10 / 15 / 11 / 16", "widget": "key", "action": "terrain" },
{ "area": "10 / 16 / 11 / 17", "widget": "key", "action": "palette" }
]
}