iInitial mbstyle for hiking (edited with maputnik)

This commit is contained in:
Eric van der Vlist 2023-01-31 10:55:55 +01:00
parent c08cf8bc3f
commit 1241802888
1 changed files with 42 additions and 0 deletions

42
src/styles/hiking.json Normal file
View File

@ -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"
}