Skip to content

Commit d79e90f

Browse files
Merge pull request #45 from OpenHistoricalMap/1132-canals-take2
putting canal lines under water areas
2 parents dbfa2a6 + 46b4ddc commit d79e90f

2 files changed

Lines changed: 54 additions & 54 deletions

File tree

historical/historical.json

Lines changed: 52 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -654,6 +654,58 @@
654654
"layout": {"visibility": "visible"},
655655
"paint": {"fill-color": "rgba(226, 214, 205, 1)"}
656656
},
657+
{
658+
"id": "water_lines_canal-casing",
659+
"type": "line",
660+
"source": "osm",
661+
"source-layer": "water_lines",
662+
"minzoom": 12,
663+
"maxzoom": 24,
664+
"filter": ["==", ["get", "type"], "canal"],
665+
"layout": {"visibility": "visible"},
666+
"paint": {
667+
"line-color": "rgba(111, 145, 160, 1)",
668+
"line-width": [
669+
"interpolate",
670+
["linear"],
671+
["zoom"],
672+
13,
673+
0.5,
674+
14,
675+
2,
676+
20,
677+
3
678+
],
679+
"line-gap-width": 4,
680+
"line-dasharray": [1, 1]
681+
}
682+
},
683+
{
684+
"id": "water_lines_canal",
685+
"type": "line",
686+
"source": "osm",
687+
"source-layer": "water_lines",
688+
"minzoom": 8,
689+
"maxzoom": 24,
690+
"filter": ["==", ["get", "type"], "canal"],
691+
"layout": {"visibility": "visible"},
692+
"paint": {
693+
"line-color": "rgba(153, 201, 222, 1)",
694+
"line-width": [
695+
"interpolate",
696+
["linear"],
697+
["zoom"],
698+
8,
699+
1,
700+
13,
701+
2,
702+
14,
703+
3,
704+
20,
705+
4
706+
]
707+
}
708+
},
657709
{
658710
"id": "water_areas",
659711
"type": "fill",
@@ -925,58 +977,6 @@
925977
"line-width": ["interpolate", ["linear"], ["zoom"], 15, 0.2, 20, 1.5]
926978
}
927979
},
928-
{
929-
"id": "water_lines_canal-casing",
930-
"type": "line",
931-
"source": "osm",
932-
"source-layer": "water_lines",
933-
"minzoom": 12,
934-
"maxzoom": 24,
935-
"filter": ["==", ["get", "type"], "canal"],
936-
"layout": {"visibility": "visible"},
937-
"paint": {
938-
"line-color": "rgba(111, 145, 160, 1)",
939-
"line-width": [
940-
"interpolate",
941-
["linear"],
942-
["zoom"],
943-
13,
944-
0.5,
945-
14,
946-
2,
947-
20,
948-
3
949-
],
950-
"line-gap-width": 4,
951-
"line-dasharray": [1, 1]
952-
}
953-
},
954-
{
955-
"id": "water_lines_canal",
956-
"type": "line",
957-
"source": "osm",
958-
"source-layer": "water_lines",
959-
"minzoom": 8,
960-
"maxzoom": 24,
961-
"filter": ["==", ["get", "type"], "canal"],
962-
"layout": {"visibility": "visible"},
963-
"paint": {
964-
"line-color": "rgba(153, 201, 222, 1)",
965-
"line-width": [
966-
"interpolate",
967-
["linear"],
968-
["zoom"],
969-
8,
970-
1,
971-
13,
972-
2,
973-
14,
974-
3,
975-
20,
976-
4
977-
]
978-
}
979-
},
980980
{
981981
"id": "water_lines_aqueduct",
982982
"type": "line",

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)