|
5 | 5 | "sources": {
|
6 | 6 | "osm": {
|
7 | 7 | "type": "vector",
|
8 |
| - "tiles": ["https://vtiles.staging.openhistoricalmap.org/maps/osm/{z}/{x}/{y}.pbf"] |
| 8 | + "tiles": ["https://vtiles.openhistoricalmap.org/maps/osm/{z}/{x}/{y}.pbf"] |
9 | 9 | },
|
10 | 10 | "ohm_landcover_hillshade": {
|
11 | 11 | "type": "raster",
|
|
86 | 86 | ]
|
87 | 87 | }
|
88 | 88 | },
|
| 89 | + { |
| 90 | + "id": "landuse_areas_military_overlay", |
| 91 | + "type": "fill", |
| 92 | + "source": "osm", |
| 93 | + "source-layer": "landuse_areas", |
| 94 | + "minzoom": 10, |
| 95 | + "maxzoom": 24, |
| 96 | + "filter": ["all", ["==", "type", "military"]], |
| 97 | + "layout": {"visibility": "visible"}, |
| 98 | + "paint": { |
| 99 | + "fill-color": "rgba(178, 194, 157, 1)", |
| 100 | + "fill-antialias": false, |
| 101 | + "fill-pattern": "military-fill" |
| 102 | + } |
| 103 | + }, |
89 | 104 | {
|
90 | 105 | "id": "military_landuselow",
|
91 | 106 | "type": "fill",
|
|
118 | 133 | "paint": {"fill-color": "rgba(244, 244, 235, 1)"}
|
119 | 134 | },
|
120 | 135 | {
|
121 |
| - "id": "landuse_areas_military_overlay", |
| 136 | + "id": "airports", |
122 | 137 | "type": "fill",
|
123 | 138 | "source": "osm",
|
124 |
| - "source-layer": "landuse_areas", |
125 |
| - "minzoom": 10, |
| 139 | + "source-layer": "transport_areas", |
| 140 | + "minzoom": 12, |
126 | 141 | "maxzoom": 24,
|
127 |
| - "filter": ["all", ["==", "type", "military"]], |
| 142 | + "filter": ["all", ["==", "type", "apron"]], |
128 | 143 | "layout": {"visibility": "visible"},
|
129 |
| - "paint": { |
130 |
| - "fill-color": "rgba(178, 194, 157, 1)", |
131 |
| - "fill-antialias": false, |
132 |
| - "fill-pattern": "military-fill" |
133 |
| - } |
| 144 | + "paint": {"fill-color": "rgba(221, 221, 221, 1)"} |
134 | 145 | },
|
135 | 146 | {
|
136 |
| - "id": "airports", |
| 147 | + "id": "landuse_areas_allz", |
137 | 148 | "type": "fill",
|
138 | 149 | "source": "osm",
|
139 |
| - "source-layer": "transport_areas", |
140 |
| - "minzoom": 12, |
| 150 | + "source-layer": "landuse_areas", |
| 151 | + "minzoom": 0, |
141 | 152 | "maxzoom": 24,
|
142 |
| - "filter": ["all", ["==", "type", "apron"]], |
| 153 | + "filter": [ |
| 154 | + "all", |
| 155 | + ["in", "type", "forest", "wood", "nature_reserve", "park"] |
| 156 | + ], |
143 | 157 | "layout": {"visibility": "visible"},
|
144 |
| - "paint": {"fill-color": "rgba(221, 221, 221, 1)"} |
| 158 | + "paint": { |
| 159 | + "fill-color": { |
| 160 | + "stops": [ |
| 161 | + [0, "rgba(192, 201, 173, 1)"], |
| 162 | + [4, "rgba(188, 193, 179, 1)"], |
| 163 | + [5, "rgba(203, 214, 183, 1)"], |
| 164 | + [7, "rgba(220, 232, 194, 1)"] |
| 165 | + ] |
| 166 | + }, |
| 167 | + "fill-opacity": 1 |
| 168 | + } |
145 | 169 | },
|
146 | 170 | {
|
147 | 171 | "id": "landuse_areas_z12_generalized_land_use",
|
|
464 | 488 | ]
|
465 | 489 | }
|
466 | 490 | },
|
467 |
| - { |
468 |
| - "id": "landuse_areas_allz", |
469 |
| - "type": "fill", |
470 |
| - "source": "osm", |
471 |
| - "source-layer": "landuse_areas", |
472 |
| - "minzoom": 0, |
473 |
| - "maxzoom": 24, |
474 |
| - "filter": [ |
475 |
| - "all", |
476 |
| - ["in", "type", "forest", "wood", "nature_reserve", "park"] |
477 |
| - ], |
478 |
| - "layout": {"visibility": "visible"}, |
479 |
| - "paint": { |
480 |
| - "fill-color": { |
481 |
| - "stops": [ |
482 |
| - [0, "rgba(192, 201, 173, 1)"], |
483 |
| - [4, "rgba(188, 193, 179, 1)"], |
484 |
| - [5, "rgba(203, 214, 183, 1)"], |
485 |
| - [7, "rgba(220, 232, 194, 1)"] |
486 |
| - ] |
487 |
| - }, |
488 |
| - "fill-opacity": 1 |
489 |
| - } |
490 |
| - }, |
491 | 491 | {
|
492 | 492 | "id": "parking_lots",
|
493 | 493 | "type": "fill",
|
|
4947 | 4947 | "id": "water_areaslabels_z15",
|
4948 | 4948 | "type": "symbol",
|
4949 | 4949 | "source": "osm",
|
4950 |
| - "source-layer": "water_areas", |
| 4950 | + "source-layer": "water_areas_centroids", |
4951 | 4951 | "minzoom": 15,
|
4952 | 4952 | "maxzoom": 24,
|
4953 | 4953 | "filter": ["all", [">", "area", 100000]],
|
|
4968 | 4968 | "id": "water_areaslabels_z12",
|
4969 | 4969 | "type": "symbol",
|
4970 | 4970 | "source": "osm",
|
4971 |
| - "source-layer": "water_areas", |
| 4971 | + "source-layer": "water_areas_centroids", |
4972 | 4972 | "minzoom": 12,
|
4973 | 4973 | "maxzoom": 15,
|
4974 | 4974 | "filter": ["all", [">", "area", 1000000]],
|
|
5022 | 5022 | "id": "water_areaslabels_z8",
|
5023 | 5023 | "type": "symbol",
|
5024 | 5024 | "source": "osm",
|
5025 |
| - "source-layer": "water_areas", |
| 5025 | + "source-layer": "water_areas_centroids", |
5026 | 5026 | "minzoom": 8,
|
5027 | 5027 | "maxzoom": 12,
|
5028 | 5028 | "filter": ["all", [">", "area", 10000000]],
|
|
5125 | 5125 | "id": "landuse_areaslabels_park",
|
5126 | 5126 | "type": "symbol",
|
5127 | 5127 | "source": "osm",
|
5128 |
| - "source-layer": "landuse_areas", |
| 5128 | + "source-layer": "landuse_areas_centroids", |
5129 | 5129 | "minzoom": 14,
|
5130 | 5130 | "maxzoom": 24,
|
5131 | 5131 | "filter": [
|
|
5167 | 5167 | "id": "landuse_areaslabels_farming",
|
5168 | 5168 | "type": "symbol",
|
5169 | 5169 | "source": "osm",
|
5170 |
| - "source-layer": "landuse_areas", |
| 5170 | + "source-layer": "landuse_areas_centroids", |
5171 | 5171 | "minzoom": 14,
|
5172 | 5172 | "maxzoom": 24,
|
5173 | 5173 | "filter": [
|
|
5199 | 5199 | "id": "landuse_areaslabels_forest",
|
5200 | 5200 | "type": "symbol",
|
5201 | 5201 | "source": "osm",
|
5202 |
| - "source-layer": "landuse_areas", |
| 5202 | + "source-layer": "landuse_areas_centroids", |
5203 | 5203 | "minzoom": 14,
|
5204 | 5204 | "maxzoom": 24,
|
5205 | 5205 | "filter": ["all", ["in", "type", "forest", "wood", "nature_reserve"]],
|
|
5218 | 5218 | "id": "landuse_areaslabels_school",
|
5219 | 5219 | "type": "symbol",
|
5220 | 5220 | "source": "osm",
|
5221 |
| - "source-layer": "landuse_areas", |
| 5221 | + "source-layer": "landuse_areas_centroids", |
5222 | 5222 | "minzoom": 14,
|
5223 | 5223 | "maxzoom": 24,
|
5224 | 5224 | "filter": [
|
|
5240 | 5240 | "id": "points_of_interest_frombuildings",
|
5241 | 5241 | "type": "symbol",
|
5242 | 5242 | "source": "osm",
|
5243 |
| - "source-layer": "buildings", |
| 5243 | + "source-layer": "buildings_centroids", |
5244 | 5244 | "minzoom": 16,
|
5245 | 5245 | "filter": ["all"],
|
5246 | 5246 | "layout": {
|
|
5265 | 5265 | "id": "points_of_interest_fromareasz14",
|
5266 | 5266 | "type": "symbol",
|
5267 | 5267 | "source": "osm",
|
5268 |
| - "source-layer": "amenity_areas", |
| 5268 | + "source-layer": "amenity_areas_centroids", |
5269 | 5269 | "minzoom": 14,
|
5270 | 5270 | "maxzoom": 16,
|
5271 | 5271 | "filter": [
|
|
5307 | 5307 | "id": "points_of_interest_fromareas",
|
5308 | 5308 | "type": "symbol",
|
5309 | 5309 | "source": "osm",
|
5310 |
| - "source-layer": "amenity_areas", |
| 5310 | + "source-layer": "amenity_areas_centroids", |
5311 | 5311 | "minzoom": 16,
|
5312 | 5312 | "maxzoom": 24,
|
5313 | 5313 | "filter": ["all"],
|
|
5343 | 5343 | "id": "points_of_interest_amenity_14",
|
5344 | 5344 | "type": "symbol",
|
5345 | 5345 | "source": "osm",
|
5346 |
| - "source-layer": "amenity_points", |
| 5346 | + "source-layer": "amenity_points_centroids", |
5347 | 5347 | "minzoom": 14,
|
5348 | 5348 | "maxzoom": 16,
|
5349 | 5349 | "filter": ["all"],
|
|
5367 | 5367 | "id": "points_of_interest_amenity",
|
5368 | 5368 | "type": "symbol",
|
5369 | 5369 | "source": "osm",
|
5370 |
| - "source-layer": "amenity_points", |
| 5370 | + "source-layer": "amenity_points_centroids", |
5371 | 5371 | "minzoom": 15,
|
5372 | 5372 | "maxzoom": 24,
|
5373 | 5373 | "filter": ["all"],
|
|
0 commit comments