feat(proj): init
This commit is contained in:
@@ -0,0 +1,118 @@
|
||||
{
|
||||
"version": 8,
|
||||
"name": "Dark",
|
||||
"metadata": { "tile-server:kind": "openmaptiles" },
|
||||
"sources": {
|
||||
"openmaptiles": { "type": "vector", "url": "{{tilejson}}" }
|
||||
},
|
||||
"glyphs": "https://demotiles.maplibre.org/font/{fontstack}/{range}.pbf",
|
||||
"layers": [
|
||||
{ "id": "background", "type": "background", "paint": { "background-color": "#1b1f24" } },
|
||||
{
|
||||
"id": "landcover-wood",
|
||||
"type": "fill",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "landcover",
|
||||
"filter": ["==", "class", "wood"],
|
||||
"paint": { "fill-color": "#243026", "fill-opacity": 0.9 }
|
||||
},
|
||||
{
|
||||
"id": "park",
|
||||
"type": "fill",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "park",
|
||||
"paint": { "fill-color": "#2a382c", "fill-opacity": 0.7 }
|
||||
},
|
||||
{
|
||||
"id": "water",
|
||||
"type": "fill",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "water",
|
||||
"filter": ["==", "$type", "Polygon"],
|
||||
"paint": { "fill-color": "#1a3347" }
|
||||
},
|
||||
{
|
||||
"id": "waterway",
|
||||
"type": "line",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "waterway",
|
||||
"paint": { "line-color": "#1a3347", "line-width": { "base": 1.3, "stops": [[8, 0.5], [16, 4]] } }
|
||||
},
|
||||
{
|
||||
"id": "building",
|
||||
"type": "fill",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "building",
|
||||
"minzoom": 13,
|
||||
"paint": { "fill-color": "#2b3138", "fill-outline-color": "#3a414a" }
|
||||
},
|
||||
{
|
||||
"id": "road-minor",
|
||||
"type": "line",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "transportation",
|
||||
"minzoom": 12,
|
||||
"filter": ["in", "class", "minor", "service", "track"],
|
||||
"paint": { "line-color": "#3d4450", "line-width": { "base": 1.2, "stops": [[12, 0.8], [18, 8]] } }
|
||||
},
|
||||
{
|
||||
"id": "road-secondary",
|
||||
"type": "line",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "transportation",
|
||||
"filter": ["in", "class", "primary", "secondary", "tertiary"],
|
||||
"paint": { "line-color": "#5a6270", "line-width": { "base": 1.2, "stops": [[6, 0.8], [18, 14]] } }
|
||||
},
|
||||
{
|
||||
"id": "road-motorway",
|
||||
"type": "line",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "transportation",
|
||||
"filter": ["in", "class", "motorway", "trunk"],
|
||||
"paint": { "line-color": "#c47a3a", "line-width": { "base": 1.2, "stops": [[5, 0.8], [18, 18]] } }
|
||||
},
|
||||
{
|
||||
"id": "road-rail",
|
||||
"type": "line",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "transportation",
|
||||
"filter": ["==", "class", "rail"],
|
||||
"paint": { "line-color": "#4a4450", "line-width": 0.8 }
|
||||
},
|
||||
{
|
||||
"id": "boundary",
|
||||
"type": "line",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "boundary",
|
||||
"filter": ["in", "admin_level", 2, 4],
|
||||
"paint": { "line-color": "#6a7380", "line-dasharray": [3, 2], "line-width": 1, "line-opacity": 0.6 }
|
||||
},
|
||||
{
|
||||
"id": "road-name",
|
||||
"type": "symbol",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "transportation_name",
|
||||
"minzoom": 12,
|
||||
"layout": {
|
||||
"text-field": ["coalesce", ["get", "name"], ["get", "name:latin"]],
|
||||
"text-font": ["Noto Sans Regular"],
|
||||
"text-size": 11,
|
||||
"symbol-placement": "line"
|
||||
},
|
||||
"paint": { "text-color": "#d7dde6", "text-halo-color": "#1b1f24", "text-halo-width": 1.2 }
|
||||
},
|
||||
{
|
||||
"id": "place-city",
|
||||
"type": "symbol",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "place",
|
||||
"filter": ["in", "class", "city", "town"],
|
||||
"layout": {
|
||||
"text-field": ["coalesce", ["get", "name"], ["get", "name:latin"]],
|
||||
"text-font": ["Noto Sans Bold"],
|
||||
"text-size": { "stops": [[4, 12], [10, 18]] }
|
||||
},
|
||||
"paint": { "text-color": "#f2f5f8", "text-halo-color": "#1b1f24", "text-halo-width": 1.6 }
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,305 @@
|
||||
{
|
||||
"version": 8,
|
||||
"name": "OSM Bright",
|
||||
"metadata": {
|
||||
"tile-server:kind": "openmaptiles"
|
||||
},
|
||||
"sources": {
|
||||
"openmaptiles": {
|
||||
"type": "vector",
|
||||
"url": "{{tilejson}}"
|
||||
}
|
||||
},
|
||||
"glyphs": "https://demotiles.maplibre.org/font/{fontstack}/{range}.pbf",
|
||||
"layers": [
|
||||
{
|
||||
"id": "background",
|
||||
"type": "background",
|
||||
"paint": { "background-color": "#f4f1ea" }
|
||||
},
|
||||
{
|
||||
"id": "landcover-wood",
|
||||
"type": "fill",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "landcover",
|
||||
"filter": ["==", "class", "wood"],
|
||||
"paint": { "fill-color": "#c6ddb4", "fill-opacity": 0.8 }
|
||||
},
|
||||
{
|
||||
"id": "landcover-grass",
|
||||
"type": "fill",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "landcover",
|
||||
"filter": ["==", "class", "grass"],
|
||||
"paint": { "fill-color": "#d8e8c8", "fill-opacity": 0.7 }
|
||||
},
|
||||
{
|
||||
"id": "landcover-farmland",
|
||||
"type": "fill",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "landcover",
|
||||
"filter": ["==", "class", "farmland"],
|
||||
"paint": { "fill-color": "#e8e4c8", "fill-opacity": 0.6 }
|
||||
},
|
||||
{
|
||||
"id": "landuse-residential",
|
||||
"type": "fill",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "landuse",
|
||||
"filter": ["==", "class", "residential"],
|
||||
"paint": { "fill-color": "#e8e0d8", "fill-opacity": 0.5 }
|
||||
},
|
||||
{
|
||||
"id": "park",
|
||||
"type": "fill",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "park",
|
||||
"paint": { "fill-color": "#cdebb0", "fill-opacity": 0.7 }
|
||||
},
|
||||
{
|
||||
"id": "water",
|
||||
"type": "fill",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "water",
|
||||
"filter": ["==", "$type", "Polygon"],
|
||||
"paint": { "fill-color": "#7eb6d9" }
|
||||
},
|
||||
{
|
||||
"id": "waterway",
|
||||
"type": "line",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "waterway",
|
||||
"paint": {
|
||||
"line-color": "#7eb6d9",
|
||||
"line-width": { "base": 1.3, "stops": [[8, 0.5], [16, 4]] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "building",
|
||||
"type": "fill",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "building",
|
||||
"minzoom": 13,
|
||||
"paint": {
|
||||
"fill-color": "#d9d0c7",
|
||||
"fill-outline-color": "#c4bbb2",
|
||||
"fill-opacity": { "base": 1, "stops": [[13, 0], [14, 1]] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "transportation-tunnel",
|
||||
"type": "line",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "transportation",
|
||||
"filter": ["==", "brunnel", "tunnel"],
|
||||
"paint": {
|
||||
"line-color": "#d0d0d0",
|
||||
"line-dasharray": [1, 1],
|
||||
"line-width": { "base": 1.4, "stops": [[6, 0.5], [14, 4], [18, 16]] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "road-minor-casing",
|
||||
"type": "line",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "transportation",
|
||||
"minzoom": 12,
|
||||
"filter": ["all", ["in", "class", "minor", "service", "track"], ["!=", "brunnel", "tunnel"]],
|
||||
"paint": {
|
||||
"line-color": "#cfcdca",
|
||||
"line-width": { "base": 1.2, "stops": [[12, 1.2], [18, 10]] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "road-minor",
|
||||
"type": "line",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "transportation",
|
||||
"minzoom": 12,
|
||||
"filter": ["all", ["in", "class", "minor", "service", "track"], ["!=", "brunnel", "tunnel"]],
|
||||
"paint": {
|
||||
"line-color": "#ffffff",
|
||||
"line-width": { "base": 1.2, "stops": [[12, 0.8], [18, 8]] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "road-tertiary-casing",
|
||||
"type": "line",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "transportation",
|
||||
"minzoom": 8,
|
||||
"filter": ["all", ["==", "class", "tertiary"], ["!=", "brunnel", "tunnel"]],
|
||||
"paint": {
|
||||
"line-color": "#c4b9a6",
|
||||
"line-width": { "base": 1.2, "stops": [[8, 1.5], [18, 14]] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "road-tertiary",
|
||||
"type": "line",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "transportation",
|
||||
"minzoom": 8,
|
||||
"filter": ["all", ["==", "class", "tertiary"], ["!=", "brunnel", "tunnel"]],
|
||||
"paint": {
|
||||
"line-color": "#ffffff",
|
||||
"line-width": { "base": 1.2, "stops": [[8, 0.8], [18, 12]] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "road-secondary-casing",
|
||||
"type": "line",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "transportation",
|
||||
"filter": ["all", ["in", "class", "primary", "secondary"], ["!=", "brunnel", "tunnel"]],
|
||||
"paint": {
|
||||
"line-color": "#d4b98a",
|
||||
"line-width": { "base": 1.2, "stops": [[6, 1.4], [18, 18]] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "road-secondary",
|
||||
"type": "line",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "transportation",
|
||||
"filter": ["all", ["in", "class", "primary", "secondary"], ["!=", "brunnel", "tunnel"]],
|
||||
"paint": {
|
||||
"line-color": "#feeaa2",
|
||||
"line-width": { "base": 1.2, "stops": [[6, 0.8], [18, 14]] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "road-motorway-casing",
|
||||
"type": "line",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "transportation",
|
||||
"filter": ["all", ["in", "class", "motorway", "trunk"], ["!=", "brunnel", "tunnel"]],
|
||||
"paint": {
|
||||
"line-color": "#d05a3a",
|
||||
"line-width": { "base": 1.2, "stops": [[5, 1.6], [18, 22]] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "road-motorway",
|
||||
"type": "line",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "transportation",
|
||||
"filter": ["all", ["in", "class", "motorway", "trunk"], ["!=", "brunnel", "tunnel"]],
|
||||
"paint": {
|
||||
"line-color": "#e8923d",
|
||||
"line-width": { "base": 1.2, "stops": [[5, 0.8], [18, 18]] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "road-rail",
|
||||
"type": "line",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "transportation",
|
||||
"filter": ["==", "class", "rail"],
|
||||
"paint": {
|
||||
"line-color": "#9a8f86",
|
||||
"line-width": { "base": 1.2, "stops": [[8, 0.4], [16, 2]] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "boundary",
|
||||
"type": "line",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "boundary",
|
||||
"filter": ["in", "admin_level", 2, 4],
|
||||
"paint": {
|
||||
"line-color": "#9e8f80",
|
||||
"line-dasharray": [3, 2],
|
||||
"line-width": { "base": 1, "stops": [[2, 0.6], [10, 1.8]] },
|
||||
"line-opacity": 0.7
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "road-name",
|
||||
"type": "symbol",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "transportation_name",
|
||||
"minzoom": 12,
|
||||
"layout": {
|
||||
"text-field": ["coalesce", ["get", "name"], ["get", "name:latin"]],
|
||||
"text-font": ["Noto Sans Regular"],
|
||||
"text-size": 11,
|
||||
"symbol-placement": "line"
|
||||
},
|
||||
"paint": {
|
||||
"text-color": "#4a433c",
|
||||
"text-halo-color": "#ffffff",
|
||||
"text-halo-width": 1.2
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "water-name",
|
||||
"type": "symbol",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "water_name",
|
||||
"layout": {
|
||||
"text-field": ["coalesce", ["get", "name"], ["get", "name:latin"]],
|
||||
"text-font": ["Noto Sans Regular"],
|
||||
"text-size": { "stops": [[10, 11], [14, 16]] }
|
||||
},
|
||||
"paint": {
|
||||
"text-color": "#3d6e8c",
|
||||
"text-halo-color": "#d6ecf7",
|
||||
"text-halo-width": 1.2
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "place-village",
|
||||
"type": "symbol",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "place",
|
||||
"minzoom": 9,
|
||||
"filter": ["==", "class", "village"],
|
||||
"layout": {
|
||||
"text-field": ["coalesce", ["get", "name"], ["get", "name:latin"]],
|
||||
"text-font": ["Noto Sans Regular"],
|
||||
"text-size": 11
|
||||
},
|
||||
"paint": {
|
||||
"text-color": "#333333",
|
||||
"text-halo-color": "#ffffff",
|
||||
"text-halo-width": 1.4
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "place-town",
|
||||
"type": "symbol",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "place",
|
||||
"minzoom": 7,
|
||||
"filter": ["==", "class", "town"],
|
||||
"layout": {
|
||||
"text-field": ["coalesce", ["get", "name"], ["get", "name:latin"]],
|
||||
"text-font": ["Noto Sans Regular"],
|
||||
"text-size": { "stops": [[7, 12], [12, 16]] }
|
||||
},
|
||||
"paint": {
|
||||
"text-color": "#222222",
|
||||
"text-halo-color": "#ffffff",
|
||||
"text-halo-width": 1.5
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "place-city",
|
||||
"type": "symbol",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "place",
|
||||
"filter": ["==", "class", "city"],
|
||||
"layout": {
|
||||
"text-field": ["coalesce", ["get", "name"], ["get", "name:latin"]],
|
||||
"text-font": ["Noto Sans Bold"],
|
||||
"text-size": { "stops": [[4, 12], [10, 20]] }
|
||||
},
|
||||
"paint": {
|
||||
"text-color": "#111111",
|
||||
"text-halo-color": "#ffffff",
|
||||
"text-halo-width": 1.6
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,110 @@
|
||||
{
|
||||
"version": 8,
|
||||
"name": "Positron",
|
||||
"metadata": { "tile-server:kind": "openmaptiles" },
|
||||
"sources": {
|
||||
"openmaptiles": { "type": "vector", "url": "{{tilejson}}" }
|
||||
},
|
||||
"glyphs": "https://demotiles.maplibre.org/font/{fontstack}/{range}.pbf",
|
||||
"layers": [
|
||||
{ "id": "background", "type": "background", "paint": { "background-color": "#f2f4f7" } },
|
||||
{
|
||||
"id": "landcover-wood",
|
||||
"type": "fill",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "landcover",
|
||||
"filter": ["in", "class", "wood", "grass"],
|
||||
"paint": { "fill-color": "#e4eadc", "fill-opacity": 0.8 }
|
||||
},
|
||||
{
|
||||
"id": "park",
|
||||
"type": "fill",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "park",
|
||||
"paint": { "fill-color": "#e6eedd" }
|
||||
},
|
||||
{
|
||||
"id": "water",
|
||||
"type": "fill",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "water",
|
||||
"filter": ["==", "$type", "Polygon"],
|
||||
"paint": { "fill-color": "#cddceb" }
|
||||
},
|
||||
{
|
||||
"id": "waterway",
|
||||
"type": "line",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "waterway",
|
||||
"paint": { "line-color": "#cddceb", "line-width": { "stops": [[8, 0.5], [16, 3]] } }
|
||||
},
|
||||
{
|
||||
"id": "building",
|
||||
"type": "fill",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "building",
|
||||
"minzoom": 13,
|
||||
"paint": { "fill-color": "#e6e8ec", "fill-outline-color": "#d5d8de" }
|
||||
},
|
||||
{
|
||||
"id": "road-minor",
|
||||
"type": "line",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "transportation",
|
||||
"minzoom": 12,
|
||||
"filter": ["in", "class", "minor", "service"],
|
||||
"paint": { "line-color": "#ffffff", "line-width": { "stops": [[12, 0.6], [18, 7]] } }
|
||||
},
|
||||
{
|
||||
"id": "road-secondary",
|
||||
"type": "line",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "transportation",
|
||||
"filter": ["in", "class", "primary", "secondary", "tertiary"],
|
||||
"paint": { "line-color": "#ffffff", "line-width": { "stops": [[7, 0.8], [18, 12]] } }
|
||||
},
|
||||
{
|
||||
"id": "road-motorway",
|
||||
"type": "line",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "transportation",
|
||||
"filter": ["in", "class", "motorway", "trunk"],
|
||||
"paint": { "line-color": "#e6cfc0", "line-width": { "stops": [[5, 1], [18, 16]] } }
|
||||
},
|
||||
{
|
||||
"id": "boundary",
|
||||
"type": "line",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "boundary",
|
||||
"filter": ["in", "admin_level", 2, 4],
|
||||
"paint": { "line-color": "#b7bec8", "line-dasharray": [4, 2], "line-width": 1 }
|
||||
},
|
||||
{
|
||||
"id": "road-name",
|
||||
"type": "symbol",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "transportation_name",
|
||||
"minzoom": 13,
|
||||
"layout": {
|
||||
"text-field": ["coalesce", ["get", "name"], ["get", "name:latin"]],
|
||||
"text-font": ["Noto Sans Regular"],
|
||||
"text-size": 11,
|
||||
"symbol-placement": "line"
|
||||
},
|
||||
"paint": { "text-color": "#6b7380", "text-halo-color": "#ffffff", "text-halo-width": 1.2 }
|
||||
},
|
||||
{
|
||||
"id": "place-city",
|
||||
"type": "symbol",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "place",
|
||||
"filter": ["in", "class", "city", "town"],
|
||||
"layout": {
|
||||
"text-field": ["coalesce", ["get", "name"], ["get", "name:latin"]],
|
||||
"text-font": ["Noto Sans Bold"],
|
||||
"text-size": { "stops": [[4, 11], [10, 16]] }
|
||||
},
|
||||
"paint": { "text-color": "#4a5160", "text-halo-color": "#ffffff", "text-halo-width": 1.6 }
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user