Skip to content

Commit 60b802d

Browse files
committed
removing traffic_signals until z=17
1 parent 821d707 commit 60b802d

1 file changed

Lines changed: 37 additions & 2 deletions

File tree

historical/historical.json

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5901,7 +5901,17 @@
59015901
["<", ["get", "area_m2"], 100000000]
59025902
],
59035903
"layout": {
5904-
"text-size": 12,
5904+
"text-size": [
5905+
"interpolate",
5906+
["linear"],
5907+
["zoom"],
5908+
10,
5909+
10,
5910+
11,
5911+
12,
5912+
13,
5913+
14
5914+
],
59055915
"text-field": ["get", "name"],
59065916
"text-font": ["OpenHistorical"]
59075917
},
@@ -6417,7 +6427,7 @@
64176427
"source-layer": "transport_points_centroids",
64186428
"minzoom": 12,
64196429
"maxzoom": 24,
6420-
"filter": ["all"],
6430+
"filter": ["!=", ["get", "type"], "traffic_signals"],
64216431
"layout": {
64226432
"icon-image": "{type}-18",
64236433
"visibility": "visible",
@@ -6437,6 +6447,31 @@
64376447
"text-opacity": ["interpolate", ["linear"], ["zoom"], 12.99, 0, 13, 1]
64386448
}
64396449
},
6450+
{
6451+
"id": "transport_points_centroids_traffic_signals",
6452+
"type": "symbol",
6453+
"source": "osm",
6454+
"source-layer": "transport_points_centroids",
6455+
"minzoom": 17,
6456+
"maxzoom": 24,
6457+
"filter": ["==", ["get", "type"], "traffic_signals"],
6458+
"layout": {
6459+
"icon-image": "{type}-18",
6460+
"visibility": "visible",
6461+
"text-field": ["get", "name"],
6462+
"text-size": ["interpolate", ["linear"], ["zoom"], 10, 14, 18, 14],
6463+
"text-anchor": "top",
6464+
"text-offset": [0, 0.75],
6465+
"text-font": ["OpenHistorical"]
6466+
},
6467+
"paint": {
6468+
"icon-color": "#000000",
6469+
"text-color": "rgba(80, 80, 80, 1)",
6470+
"text-halo-color": "rgba(255, 255, 255, 1)",
6471+
"text-halo-width": 0.5,
6472+
"text-halo-blur": 1
6473+
}
6474+
},
64406475
{
64416476
"id": "points_airport",
64426477
"type": "symbol",

0 commit comments

Comments
 (0)