Skip to content

Commit b58c12a

Browse files
Merge pull request #53 from OpenHistoricalMap/jeffme-1117-rework
Jeffme 1117 rework
2 parents 596436b + faa1a8d commit b58c12a

1 file changed

Lines changed: 11 additions & 42 deletions

File tree

historical/historical.json

Lines changed: 11 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -283,42 +283,7 @@
283283
}
284284
},
285285
{
286-
"id": "landuse_areas_underlying_land_designation",
287-
"type": "fill",
288-
"source": "osm",
289-
"source-layer": "landuse_areas",
290-
"minzoom": 12,
291-
"maxzoom": 24,
292-
"layout": {"visibility": "visible"},
293-
"filter": [
294-
"in",
295-
["get", "type"],
296-
["literal", ["park", "pitch", "golf_course"]]
297-
],
298-
"paint": {
299-
"fill-color": [
300-
"interpolate",
301-
["linear"],
302-
["zoom"],
303-
0,
304-
[
305-
"match",
306-
["get", "type"],
307-
"park",
308-
"rgba(208, 220, 174, 1)",
309-
"pitch",
310-
"rgba(69, 150, 7, 0.39)",
311-
"nature_reserve",
312-
"rgba(212, 225, 211, 0.3)",
313-
"golf_course",
314-
"rgba(236, 240, 198, 1)",
315-
"transparent"
316-
]
317-
]
318-
}
319-
},
320-
{
321-
"id": "landuse_areas_z12_localized_land_use",
286+
"id": "landuse_areas_localized_land_use",
322287
"type": "fill",
323288
"source": "osm",
324289
"source-layer": "landuse_areas",
@@ -457,11 +422,11 @@
457422
}
458423
},
459424
{
460-
"id": "landuse_areas_z12_food_and_farming",
425+
"id": "landuse_areas_ood_and_farming",
461426
"type": "fill",
462427
"source": "osm",
463428
"source-layer": "landuse_areas",
464-
"minzoom": 12,
429+
"minzoom": 6,
465430
"maxzoom": 24,
466431
"filter": [
467432
"in",
@@ -498,7 +463,7 @@
498463
}
499464
},
500465
{
501-
"id": "landuse_areas_developed_open_space_larger",
466+
"id": "landuse_areas_developed_open_space_larger_types",
502467
"type": "fill",
503468
"source": "osm",
504469
"source-layer": "landuse_areas",
@@ -508,7 +473,7 @@
508473
"filter": [
509474
"in",
510475
["get", "type"],
511-
["literal", ["village_green", "cemetary", "sports_centre", "stadium", "recreation_ground"]]
476+
["literal", ["park", "golf_course", "village_green", "cemetery", "sports_centre", "stadium", "recreation_ground"]]
512477
],
513478
"paint": {
514479
"fill-color": [
@@ -519,6 +484,10 @@
519484
[
520485
"match",
521486
["get", "type"],
487+
"park",
488+
"rgba(208, 220, 174, 1)",
489+
"golf_course",
490+
"rgba(236, 240, 198, 1)",
522491
"village_green",
523492
"rgba(208, 220, 174, 1)",
524493
"cemetery",
@@ -550,7 +519,7 @@
550519
}
551520
},
552521
{
553-
"id": "landuse_areas_developed_open_space_smaller",
522+
"id": "landuse_areas_developed_open_space_smaller_types",
554523
"type": "fill",
555524
"source": "osm",
556525
"source-layer": "landuse_areas",
@@ -559,7 +528,7 @@
559528
"filter": [
560529
"in",
561530
["get", "type"],
562-
["literal", ["grave_yard", "picnic_site", "camp_site", "playground", "paitch", "track", "bleachers"]]
531+
["literal", ["grave_yard", "picnic_site", "camp_site", "playground", "pitch", "track", "bleachers"]]
563532
],
564533
"layout": {"visibility": "visible"},
565534
"paint": {

0 commit comments

Comments
 (0)