|
5901 | 5901 | ["<", ["get", "area_m2"], 100000000] |
5902 | 5902 | ], |
5903 | 5903 | "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 | + ], |
5905 | 5915 | "text-field": ["get", "name"], |
5906 | 5916 | "text-font": ["OpenHistorical"] |
5907 | 5917 | }, |
|
6417 | 6427 | "source-layer": "transport_points_centroids", |
6418 | 6428 | "minzoom": 12, |
6419 | 6429 | "maxzoom": 24, |
6420 | | - "filter": ["all"], |
| 6430 | + "filter": ["!=", ["get", "type"], "traffic_signals"], |
6421 | 6431 | "layout": { |
6422 | 6432 | "icon-image": "{type}-18", |
6423 | 6433 | "visibility": "visible", |
|
6437 | 6447 | "text-opacity": ["interpolate", ["linear"], ["zoom"], 12.99, 0, 13, 1] |
6438 | 6448 | } |
6439 | 6449 | }, |
| 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 | + }, |
6440 | 6475 | { |
6441 | 6476 | "id": "points_airport", |
6442 | 6477 | "type": "symbol", |
|
0 commit comments