From 124180288831cc1c360623ea78eb63a5465dc6e6 Mon Sep 17 00:00:00 2001 From: evlist Date: Tue, 31 Jan 2023 10:55:55 +0100 Subject: [PATCH] iInitial mbstyle for hiking (edited with maputnik) --- src/styles/hiking.json | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 src/styles/hiking.json diff --git a/src/styles/hiking.json b/src/styles/hiking.json new file mode 100644 index 0000000..f863593 --- /dev/null +++ b/src/styles/hiking.json @@ -0,0 +1,42 @@ +{ + "version": 8, + "name": "Empty Style", + "metadata": { "maputnik:renderer": "mbgljs" }, + "sources": { + "dyomedea": { + "type": "vector", + "tiles": [ + "https://geo.dyomedea.com/geoserver/gwc/service/wmts/rest/dyomedea/EPSG:900913/EPSG:900913:{z}/{y}/{x}?format=application/json;type=geojson" + ], + "minZoom": 0, + "maxZoom": 14 + } + }, + "sprite": "", + "glyphs": "https://orangemug.github.io/font-glyphs/glyphs/{fontstack}/{range}.pbf", + "layers": [ + { + "id": "hiking-routes", + "type": "line", + "source": "dyomedea", + "source-layer": "planet_osm_line", + "filter": ["any", ["==", "route", "hiking"]], + "layout": { "visibility": "visible" }, + "paint": { + "line-color": "rgba(73, 3, 82, 1)", + "line-opacity": 0.8, + "line-width": 3 + } + }, + { + "id": "hiking-tracks", + "type": "line", + "source": "dyomedea", + "source-layer": "planet_osm_line", + "minzoom": 14, + "filter": ["all", ["in", "highway", "path", "track", "footway", "steps"]], + "paint": { "line-color": "rgba(73, 3, 82, 1)" } + } + ], + "id": "c6w0li4lm" +}