1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2025-12-29 05:33:05 +01:00

Add settings for PageNavigation (multi map)

This commit is contained in:
norbert-walter
2025-12-05 18:33:42 +01:00
parent eab7d74aef
commit ae2b7047f5
3 changed files with 324 additions and 14 deletions

View File

@@ -924,6 +924,117 @@
{ "calInstance3": ["AWA", "AWS", "COG", "DBT", "HDM", "PRPOS", "RPOS", "SOG", "STW", "TWA", "TWS", "TWD", "WTemp" ] }
]
},
{
"name": "mapsource",
"label": "Map Source",
"type": "list",
"default": "OBP Service",
"description": "Type of map source, cloud service or local service",
"list": [
"OBP Service",
"Local Service"
],
"category": "OBP60 Navigation",
"capabilities": {
"obp40":"true"
}
},
{
"name": "ipAddress",
"label": "IP Address",
"type": "string",
"default": "192.168.15.10",
"check": "checkIpAddress",
"description": "IP address only for local map service e.g. 192.168.15.10\nor an MDNS name like Raspi.local",
"category": "OBP60 Navigation",
"capabilities": {
"obp40":"true"
}
},
{
"name": "localPort",
"label": "Port",
"type": "number",
"default": "8080",
"check":"checkPort",
"description": "TCP port for local map server",
"category": "TCP client",
"capabilities": {
"obp40":"true"
}
},
{
"name": "maptype",
"label": "Map Type",
"type": "list",
"default": "Open Street Map",
"description": "Type of base navigation map with sea marks overlay",
"list": [
"Open Street Map",
"Google Street",
"Open Topo Map",
"Stadimaps Toner",
"Free Nautical Chart"
],
"category": "OBP60 Navigation",
"capabilities": {
"obp40":"true"
}
},
{
"name": "zoomlevel",
"label": "Default Zool Level",
"type": "number",
"default": "15",
"check": "checkMinMax",
"min": 7,
"max": 17,
"description": "Zoom level for map [7..17]; 15 = default",
"category": "OBP60 Navigation",
"capabilities": {
"obp40":"true"
}
},
{
"name": "grid",
"label": "Show Grid",
"type": "boolean",
"default": "false",
"description": "Show the grid for latutude and longitude",
"category": "OBP60 Navigation",
"capabilities": {
"obp40": "true"
}
},
{
"name": "orientation",
"label": "Map Orientation",
"type": "list",
"default": "North Dirirection",
"description": "Map orientation for navigation",
"list": [
"North Direction",
"Travel Direction"
],
"category": "OBP60 Navigation",
"capabilities": {
"obp40":"true"
}
},
{
"name": "refreshDistance",
"label": "Refresh Distance [m]",
"type": "number",
"default": "15",
"check": "checkMinMax",
"min": 1,
"max": 50,
"description": "Refresh distance between updates [1..50 m], 15 m = default",
"category": "OBP60 Navigation",
"capabilities": {
"obp40":"true"
}
},
{
"name": "display",
"label": "Display Mode",