Files
nodeMap/public/config.json

35 lines
1.1 KiB
JSON

{
"_comment": [
"tileSources: 'local' für offline, 'osm' für online",
"center: Startmittelpunkt der Karte (lat, lng)",
"zoomOutCenter: Zielkoordinaten für Herauszoomen (lat, lng)",
"minZoom/maxZoom: erlaubte Zoomstufen pro Quelle"
],
"tileSources": {
"local": {
"url": "http://localhost/talas5/TileMap/mapTiles/{z}/{x}/{y}.png",
"_comment": "Offline-Kartenquelle (lokal)",
"minZoom": 5,
"maxZoom": 15
},
"osm": {
"url": "/tiles/{z}/{x}/{y}.png",
"_comment": "OpenStreetMap Online-Kartenquelle über Server-Proxy (relativ)",
"minZoom": 0,
"maxZoom": 19
}
},
"active": "osm",
"_comment_active": "Aktive Kartenquelle: 'local' oder 'osm'",
"center": [53.111111, 8.4625],
"_comment_center": "Startmittelpunkt der Karte (lat, lng)",
"zoomOutCenter": [51.41321407879154, 7.739617925303934],
"_comment_zoomOutCenter": "Zielkoordinaten für Herauszoomen (lat, lng)",
"basePath": "/talas5",
"_comment_basePath": "Basis-URL für API und Routing",
"debugLog": false,
"_comment_debugLog": "Debug-Logging für Client "
}