style: differentiate map test styles

This commit is contained in:
Conrad Schulz 2026-06-15 18:21:31 +00:00
parent 646ac23823
commit 4e616a7304
3 changed files with 168 additions and 166 deletions

View file

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

View file

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

View file

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