Revert "style: differentiate map test styles"

This reverts commit 4e616a7304.
This commit is contained in:
Conrad Schulz 2026-06-15 19:01:42 +00:00
parent 4e616a7304
commit 932eb55f3d
3 changed files with 166 additions and 168 deletions

View file

@ -1,90 +1,90 @@
{ {
"version": 8, "version": 8,
"name": "Europa Detail", "name": "Europa Detail",
"sources": { "sources": {
"openmaptiles": { "openmaptiles": {
"type": "vector", "type": "vector",
"url": "mbtiles://{osm-europe}" "url": "mbtiles://{osm-europe}"
} }
},
"glyphs": "/fonts/{fontstack}/{range}.pbf",
"layers": [
{
"id": "background",
"type": "background",
"paint": {
"background-color": "#f7f5ee"
}
}, },
"glyphs": "/fonts/{fontstack}/{range}.pbf", {
"layers": [ "id": "water",
{ "type": "fill",
"id": "background", "source": "openmaptiles",
"type": "background", "source-layer": "water",
"paint": { "paint": {
"background-color": "#eef8e8" "fill-color": "#9ec9ff"
} }
}, },
{ {
"id": "water", "id": "landuse",
"type": "fill", "type": "fill",
"source": "openmaptiles", "source": "openmaptiles",
"source-layer": "water", "source-layer": "landuse",
"paint": { "paint": {
"fill-color": "#5ab4d6" "fill-color": "#d8e7cc",
} "fill-opacity": 0.7
}, }
{ },
"id": "landuse", {
"type": "fill", "id": "roads-major",
"source": "openmaptiles", "type": "line",
"source-layer": "landuse", "source": "openmaptiles",
"paint": { "source-layer": "transportation",
"fill-color": "#5fa65a", "filter": [
"fill-opacity": 0.85 "in",
} "class",
}, "motorway",
{ "trunk",
"id": "roads-major", "primary"
"type": "line", ],
"source": "openmaptiles", "paint": {
"source-layer": "transportation", "line-color": "#f7b267",
"filter": [ "line-width": [
"in", "interpolate",
"class", [
"motorway", "linear"
"trunk", ],
"primary" [
], "zoom"
"paint": { ],
"line-color": "#d94801", 5,
"line-width": [ 0.5,
"interpolate", 16,
[ 3.5
"linear" ]
], }
[ },
"zoom" {
], "id": "roads-minor",
5, "type": "line",
0.5, "source": "openmaptiles",
16, "source-layer": "transportation",
3.5 "paint": {
] "line-color": "#ffffff",
} "line-width": [
}, "interpolate",
{ [
"id": "roads-minor", "linear"
"type": "line", ],
"source": "openmaptiles", [
"source-layer": "transportation", "zoom"
"paint": { ],
"line-color": "#ffe082", 8,
"line-width": [ 0.2,
"interpolate", 16,
[ 2.0
"linear" ]
], }
[ }
"zoom" ]
], }
8,
0.2,
16,
2.0
]
}
}
]
}

View file

@ -1,23 +1,21 @@
{ {
"version": 8, "version": 8,
"name": "Satelite World", "name": "Satelite World",
"sources": { "sources": {
"satellite": { "satellite": {
"type": "raster", "type": "raster",
"url": "mbtiles://{satellite}", "url": "mbtiles://{satellite}",
"tileSize": 256 "tileSize": 256
} }
}, },
"layers": [ "layers": [
{ {
"id": "satellite-raster", "id": "satellite-raster",
"type": "raster", "type": "raster",
"source": "satellite", "source": "satellite",
"paint": { "paint": {
"raster-opacity": 1.0, "raster-opacity": 1.0
"raster-contrast": 0.25, }
"raster-saturation": 0.2 }
} ]
} }
]
}

View file

@ -1,60 +1,60 @@
{ {
"version": 8, "version": 8,
"name": "World", "name": "World",
"sources": { "sources": {
"openmaptiles": { "openmaptiles": {
"type": "vector", "type": "vector",
"url": "mbtiles://{osm}" "url": "mbtiles://{osm}"
} }
},
"glyphs": "/fonts/{fontstack}/{range}.pbf",
"layers": [
{
"id": "background",
"type": "background",
"paint": {
"background-color": "#f2efe9"
}
}, },
"glyphs": "/fonts/{fontstack}/{range}.pbf", {
"layers": [ "id": "water",
{ "type": "fill",
"id": "background", "source": "openmaptiles",
"type": "background", "source-layer": "water",
"paint": { "paint": {
"background-color": "#e7f0ff" "fill-color": "#a9d3ff"
} }
}, },
{ {
"id": "water", "id": "landcover",
"type": "fill", "type": "fill",
"source": "openmaptiles", "source": "openmaptiles",
"source-layer": "water", "source-layer": "landcover",
"paint": { "paint": {
"fill-color": "#2f7ed8" "fill-color": "#dcebcf"
} }
}, },
{ {
"id": "landcover", "id": "roads",
"type": "fill", "type": "line",
"source": "openmaptiles", "source": "openmaptiles",
"source-layer": "landcover", "source-layer": "transportation",
"paint": { "paint": {
"fill-color": "#f6f1d3" "line-color": "#ffffff",
} "line-width": [
}, "interpolate",
{ [
"id": "roads", "linear"
"type": "line", ],
"source": "openmaptiles", [
"source-layer": "transportation", "zoom"
"paint": { ],
"line-color": "#8c6d31", 5,
"line-width": [ 0.3,
"interpolate", 14,
[ 2.0
"linear" ]
], }
[ }
"zoom" ]
], }
5,
0.3,
14,
2.0
]
}
}
]
}