|
654 | 654 | "layout": {"visibility": "visible"}, |
655 | 655 | "paint": {"fill-color": "rgba(226, 214, 205, 1)"} |
656 | 656 | }, |
| 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 | + }, |
657 | 709 | { |
658 | 710 | "id": "water_areas", |
659 | 711 | "type": "fill", |
|
925 | 977 | "line-width": ["interpolate", ["linear"], ["zoom"], 15, 0.2, 20, 1.5] |
926 | 978 | } |
927 | 979 | }, |
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 | | - }, |
980 | 980 | { |
981 | 981 | "id": "water_lines_aqueduct", |
982 | 982 | "type": "line", |
|
0 commit comments