updated updated-mono.json

This commit is contained in:
Kalin Mladenov Dobrev 2019-06-19 11:56:00 +02:00
parent f9d038b384
commit 2a1d3a2f06

View file

@ -4,7 +4,7 @@
"name": "Updated Mono", "name": "Updated Mono",
"sources": { "sources": {
"mapbox": { "mapbox": {
"url": "https://test.monomaps.com/data/osm2vectortiles.json", "url": "mbtiles://planet.mbtiles",
"type": "vector" "type": "vector"
} }
}, },
@ -76,8 +76,7 @@
} }
} }
}, },
"layers": [ "layers": [{
{
"id": "background", "id": "background",
"type": "background", "type": "background",
"paint": { "paint": {
@ -295,26 +294,26 @@
"fill-color": "#f0e8f8" "fill-color": "#f0e8f8"
} }
}, },
{ {
"id": "landuse_pitch", "id": "landuse_pitch",
"type": "fill", "type": "fill",
"metadata": { "metadata": {
"mapbox:group": "1444849388993.3071" "mapbox:group": "1444849388993.3071"
}, },
"source": "mapbox", "source": "mapbox",
"source-layer": "landuse", "source-layer": "landuse",
"filter": [ "filter": [
"all", "all",
[ [
"==", "==",
"class", "class",
"pitch" "pitch"
] ]
], ],
"paint": { "paint": {
"fill-color": "#f0e8f8" "fill-color": "#f0e8f8"
} }
}, },
{ {
"id": "landuse_wood", "id": "landuse_wood",
"type": "fill", "type": "fill",
@ -853,7 +852,7 @@
7, 7,
1.5 1.5
], ],
[ [
20, 20,
22 22
] ]
@ -982,7 +981,7 @@
"base": 1.2, "base": 1.2,
"stops": [ "stops": [
[ [
12.5, 12.5,
0 0
], ],
[ [
@ -1110,7 +1109,7 @@
} }
} }
}, },
{ {
"id": "tunnel_major_rail", "id": "tunnel_major_rail",
"type": "line", "type": "line",
"metadata": { "metadata": {
@ -1237,30 +1236,30 @@
"line-opacity": 1 "line-opacity": 1
} }
}, },
{ {
"id": "road_minor", "id": "road_minor",
"metadata": { "metadata": {
"mapbox:group": "1444849345966.4436" "mapbox:group": "1444849345966.4436"
}, },
"paint": { "paint": {
"line-color": "rgba(255, 255, 255, 1)", "line-color": "rgba(255, 255, 255, 1)",
"line-width": 2 "line-width": 2
}, },
"type": "line", "type": "line",
"source": "mapbox", "source": "mapbox",
"source-layer": "transportation", "source-layer": "transportation",
"filter": [ "filter": [
"all", "all",
[ [
"in", "in",
"class", "class",
"minor" "minor"
] ]
], ],
"layout": { "layout": {
"line-cap": "round", "line-cap": "round",
"line-join": "round" "line-join": "round"
} }
}, },
{ {
"id": "road_service_track_casing", "id": "road_service_track_casing",
@ -1548,7 +1547,7 @@
[ [
"all", "all",
[ [
"!in", "!in",
"structure", "structure",
"bridge", "bridge",
"tunnel" "tunnel"
@ -1805,7 +1804,7 @@
"paint": { "paint": {
"line-color": "#bbb", "line-color": "#bbb",
"line-width": { "line-width": {
"base": 1.4, "base": 1.4,
"stops": [ "stops": [
[ [
14, 14,
@ -1936,7 +1935,7 @@
"stops": [ "stops": [
[ [
15, 15,
1 1
], ],
[ [
16, 16,
@ -2203,7 +2202,7 @@
] ]
} }
} }
}, },
{ {
"id": "bridge_path_pedestrian", "id": "bridge_path_pedestrian",
"type": "line", "type": "line",
@ -2331,7 +2330,7 @@
[ [
13, 13,
1.5 1.5
], ],
[ [
14, 14,
2.5 2.5
@ -2730,7 +2729,7 @@
12, 12,
3 3
] ]
] ]
} }
} }
}, },
@ -3169,7 +3168,7 @@
"source-layer": "poi", "source-layer": "poi",
"minzoom": 15, "minzoom": 15,
"filter": [ "filter": [
"all", "all",
[ [
"==", "==",
"$type", "$type",
@ -3277,47 +3276,47 @@
"text-halo-width": 1, "text-halo-width": 1,
"text-halo-blur": 0.5 "text-halo-blur": 0.5
}, },
"filter": [ "filter": [
"all", "all",
[ [
"==", "==",
"class", "class",
"railway" "railway"
] ]
] ]
}, },
{ {
"id": "railway_line", "id": "railway_line",
"type": "line", "type": "line",
"source": "mapbox", "source": "mapbox",
"source-layer": "transportation", "source-layer": "transportation",
"filter": [ "filter": [
"all", "all",
[ [
"==", "==",
"subclass", "subclass",
"rail" "rail"
], ],
[ [
"==", "==",
"class", "class",
"rail" "rail"
] ]
], ],
"paint": { "paint": {
"line-width": 1, "line-width": 1,
"line-color": "rgba(188, 188, 188, 1)", "line-color": "rgba(188, 188, 188, 1)",
"line-offset": 0 "line-offset": 0
}, },
"line-opacity": 1, "line-opacity": 1,
"minzoom": 5, "minzoom": 5,
"layout": { "layout": {
"line-cap": "round", "line-cap": "round",
"line-join": "round", "line-join": "round",
"visibility": "visible" "visibility": "visible"
} }
}, },
{ {
"id": "airport_label", "id": "airport_label",
"type": "symbol", "type": "symbol",
"metadata": { "metadata": {
@ -3418,8 +3417,8 @@
], ],
"layout": { "layout": {
"text-field": "{ref}", "text-field": "{ref}",
"text-font": [ "text-font": [
"Open Sans Semibold" "Open Sans Semibold"
], ],
"text-size": 11, "text-size": 11,
"icon-image": "motorway_{reflen}", "icon-image": "motorway_{reflen}",
@ -3451,7 +3450,7 @@
"source": "mapbox", "source": "mapbox",
"source-layer": "place", "source-layer": "place",
"filter": [ "filter": [
"in", "in",
"class", "class",
"hamlet", "hamlet",
"island", "island",
@ -3668,7 +3667,7 @@
"Point" "Point"
], ],
[ [
">=", ">=",
"labelrank", "labelrank",
4 4
] ]
@ -3793,7 +3792,7 @@
}, },
"paint": { "paint": {
"text-color": "#74aee9", "text-color": "#74aee9",
"text-halo-color": "rgba(255,255,255,0.7)", "text-halo-color": "rgba(255,255,255,0.7)",
"text-halo-width": 0.75, "text-halo-width": 0.75,
"text-halo-blur": 0.75 "text-halo-blur": 0.75
} }
@ -3919,7 +3918,7 @@
"layout": { "layout": {
"text-font": [ "text-font": [
"Open Sans Italic" "Open Sans Italic"
], ],
"text-field": "{name_en}", "text-field": "{name_en}",
"text-letter-spacing": 0.2, "text-letter-spacing": 0.2,
"symbol-placement": "line", "symbol-placement": "line",
@ -4042,7 +4041,7 @@
"type": "symbol", "type": "symbol",
"metadata": { "metadata": {
"mapbox:group": "1444849242106.713" "mapbox:group": "1444849242106.713"
}, },
"source": "mapbox", "source": "mapbox",
"source-layer": "place", "source-layer": "place",
"filter": [ "filter": [