Modern Apps git
git clone https://git.maproj.org/Modern-Apps.git
cov/c3 ▾

Modern-Apps.git / library / map / src / main / rust / style / basemap.json

basemap.json3543 lines · 61.4 KiBRaw
1{
2 "version": 8,
3 "sources": {
4 "protomaps": {
5 "type": "vector",
6 "attribution": "<a href=\"https://github.com/protomaps/basemaps\">Protomaps</a> © <a href=\"https://openstreetmap.org\">OpenStreetMap</a>",
7 "url": "pmtiles://https://data.maproj.org/v4.pmtiles"
8 },
9 "protomapsOnline": {
10 "type": "vector",
11 "attribution": "<a href=\"https://github.com/protomaps/basemaps\">Protomaps</a> © <a href=\"https://openstreetmap.org\">OpenStreetMap</a>",
12 "url": "pmtiles://https://data.maproj.org/v4.pmtiles"
13 }
14 },
15 "layers": [
16 {
17 "id": "background",
18 "type": "background",
19 "paint": {
20 "background-color": "#cccccc"
21 }
22 },
23 {
24 "id": "earth",
25 "type": "fill",
26 "filter": [
27 "==",
28 "$type",
29 "Polygon"
30 ],
31 "source": "protomaps",
32 "source-layer": "earth",
33 "paint": {
34 "fill-color": "#e2dfda"
35 }
36 },
37 {
38 "id": "landcover",
39 "type": "fill",
40 "source": "protomaps",
41 "source-layer": "landcover",
42 "paint": {
43 "fill-color": [
44 "match",
45 [
46 "get",
47 "kind"
48 ],
49 "grassland",
50 "rgba(210, 239, 207, 1)",
51 "barren",
52 "rgba(255, 243, 215, 1)",
53 "urban_area",
54 "rgba(230, 230, 230, 1)",
55 "farmland",
56 "rgba(216, 239, 210, 1)",
57 "glacier",
58 "rgba(255, 255, 255, 1)",
59 "scrub",
60 "rgba(234, 239, 210, 1)",
61 "rgba(196, 231, 210, 1)"
62 ],
63 "fill-opacity": [
64 "interpolate",
65 [
66 "linear"
67 ],
68 [
69 "zoom"
70 ],
71 5,
72 1,
73 7,
74 0
75 ]
76 }
77 },
78 {
79 "id": "landuse_park",
80 "type": "fill",
81 "source": "protomaps",
82 "source-layer": "landuse",
83 "filter": [
84 "in",
85 "kind",
86 "national_park",
87 "park",
88 "cemetery",
89 "protected_area",
90 "nature_reserve",
91 "forest",
92 "golf_course",
93 "wood",
94 "scrub",
95 "grassland",
96 "grass",
97 "military",
98 "naval_base",
99 "airfield"
100 ],
101 "paint": {
102 "fill-opacity": [
103 "interpolate",
104 [
105 "linear"
106 ],
107 [
108 "zoom"
109 ],
110 6,
111 0,
112 11,
113 1
114 ],
115 "fill-color": [
116 "case",
117 [
118 "in",
119 [
120 "get",
121 "kind"
122 ],
123 [
124 "literal",
125 [
126 "national_park",
127 "park",
128 "cemetery",
129 "protected_area",
130 "nature_reserve",
131 "forest",
132 "golf_course"
133 ]
134 ]
135 ],
136 "#9cd3b4",
137 [
138 "in",
139 [
140 "get",
141 "kind"
142 ],
143 [
144 "literal",
145 [
146 "wood",
147 "nature_reserve",
148 "forest"
149 ]
150 ]
151 ],
152 "#a0d9a0",
153 [
154 "in",
155 [
156 "get",
157 "kind"
158 ],
159 [
160 "literal",
161 [
162 "scrub",
163 "grassland",
164 "grass"
165 ]
166 ]
167 ],
168 "#99d2bb",
169 [
170 "in",
171 [
172 "get",
173 "kind"
174 ],
175 [
176 "literal",
177 [
178 "glacier"
179 ]
180 ]
181 ],
182 "#e7e7e7",
183 [
184 "in",
185 [
186 "get",
187 "kind"
188 ],
189 [
190 "literal",
191 [
192 "sand"
193 ]
194 ]
195 ],
196 "#e2e0d7",
197 [
198 "in",
199 [
200 "get",
201 "kind"
202 ],
203 [
204 "literal",
205 [
206 "military",
207 "naval_base",
208 "airfield"
209 ]
210 ]
211 ],
212 "#c6dcdc",
213 "#e2dfda"
214 ]
215 }
216 },
217 {
218 "id": "landuse_urban_green",
219 "type": "fill",
220 "source": "protomaps",
221 "source-layer": "landuse",
222 "filter": [
223 "in",
224 "kind",
225 "allotments",
226 "village_green",
227 "playground"
228 ],
229 "paint": {
230 "fill-color": "#9cd3b4",
231 "fill-opacity": 0.7
232 }
233 },
234 {
235 "id": "landuse_hospital",
236 "type": "fill",
237 "source": "protomaps",
238 "source-layer": "landuse",
239 "filter": [
240 "==",
241 "kind",
242 "hospital"
243 ],
244 "paint": {
245 "fill-color": "#e4dad9"
246 }
247 },
248 {
249 "id": "landuse_industrial",
250 "type": "fill",
251 "source": "protomaps",
252 "source-layer": "landuse",
253 "filter": [
254 "==",
255 "kind",
256 "industrial"
257 ],
258 "paint": {
259 "fill-color": "#d1dde1"
260 }
261 },
262 {
263 "id": "landuse_school",
264 "type": "fill",
265 "source": "protomaps",
266 "source-layer": "landuse",
267 "filter": [
268 "in",
269 "kind",
270 "school",
271 "university",
272 "college"
273 ],
274 "paint": {
275 "fill-color": "#e4ded7"
276 }
277 },
278 {
279 "id": "landuse_beach",
280 "type": "fill",
281 "source": "protomaps",
282 "source-layer": "landuse",
283 "filter": [
284 "in",
285 "kind",
286 "beach"
287 ],
288 "paint": {
289 "fill-color": "#e8e4d0"
290 }
291 },
292 {
293 "id": "landuse_zoo",
294 "type": "fill",
295 "source": "protomaps",
296 "source-layer": "landuse",
297 "filter": [
298 "in",
299 "kind",
300 "zoo"
301 ],
302 "paint": {
303 "fill-color": "#c6dcdc"
304 }
305 },
306 {
307 "id": "landuse_aerodrome",
308 "type": "fill",
309 "source": "protomaps",
310 "source-layer": "landuse",
311 "filter": [
312 "in",
313 "kind",
314 "aerodrome"
315 ],
316 "paint": {
317 "fill-color": "#dadbdf"
318 }
319 },
320 {
321 "id": "roads_runway",
322 "type": "line",
323 "source": "protomaps",
324 "source-layer": "roads",
325 "filter": [
326 "==",
327 "kind_detail",
328 "runway"
329 ],
330 "paint": {
331 "line-color": "#e9e9ed",
332 "line-width": [
333 "interpolate",
334 [
335 "exponential",
336 1.6
337 ],
338 [
339 "zoom"
340 ],
341 10,
342 0,
343 12,
344 4,
345 18,
346 30
347 ]
348 }
349 },
350 {
351 "id": "roads_taxiway",
352 "type": "line",
353 "source": "protomaps",
354 "source-layer": "roads",
355 "minzoom": 13,
356 "filter": [
357 "==",
358 "kind_detail",
359 "taxiway"
360 ],
361 "paint": {
362 "line-color": "#e9e9ed",
363 "line-width": [
364 "interpolate",
365 [
366 "exponential",
367 1.6
368 ],
369 [
370 "zoom"
371 ],
372 13,
373 0,
374 13.5,
375 1,
376 15,
377 6
378 ]
379 }
380 },
381 {
382 "id": "landuse_runway",
383 "type": "fill",
384 "source": "protomaps",
385 "source-layer": "landuse",
386 "filter": [
387 "any",
388 [
389 "in",
390 "kind",
391 "runway",
392 "taxiway"
393 ]
394 ],
395 "paint": {
396 "fill-color": "#e9e9ed"
397 }
398 },
399 {
400 "id": "water",
401 "type": "fill",
402 "filter": [
403 "==",
404 "$type",
405 "Polygon"
406 ],
407 "source": "protomaps",
408 "source-layer": "water",
409 "paint": {
410 "fill-color": "#80deea"
411 }
412 },
413 {
414 "id": "water_stream",
415 "type": "line",
416 "source": "protomaps",
417 "source-layer": "water",
418 "minzoom": 14,
419 "filter": [
420 "in",
421 "kind",
422 "stream"
423 ],
424 "paint": {
425 "line-color": "#80deea",
426 "line-width": 0.5
427 }
428 },
429 {
430 "id": "water_river",
431 "type": "line",
432 "source": "protomaps",
433 "source-layer": "water",
434 "minzoom": 9,
435 "filter": [
436 "in",
437 "kind",
438 "river"
439 ],
440 "paint": {
441 "line-color": "#80deea",
442 "line-width": [
443 "interpolate",
444 [
445 "exponential",
446 1.6
447 ],
448 [
449 "zoom"
450 ],
451 9,
452 0,
453 9.5,
454 1,
455 18,
456 12
457 ]
458 }
459 },
460 {
461 "id": "landuse_pedestrian",
462 "type": "fill",
463 "source": "protomaps",
464 "source-layer": "landuse",
465 "filter": [
466 "in",
467 "kind",
468 "pedestrian",
469 "dam"
470 ],
471 "paint": {
472 "fill-color": "#e3e0d4"
473 }
474 },
475 {
476 "id": "landuse_pier",
477 "type": "fill",
478 "source": "protomaps",
479 "source-layer": "landuse",
480 "filter": [
481 "==",
482 "kind",
483 "pier"
484 ],
485 "paint": {
486 "fill-color": "#e0e0e0"
487 }
488 },
489 {
490 "id": "roads_tunnels_other_casing",
491 "type": "line",
492 "source": "protomaps",
493 "source-layer": "roads",
494 "filter": [
495 "all",
496 [
497 "has",
498 "is_tunnel"
499 ],
500 [
501 "in",
502 "kind",
503 "other",
504 "path"
505 ]
506 ],
507 "paint": {
508 "line-color": "#e0e0e0",
509 "line-gap-width": [
510 "interpolate",
511 [
512 "exponential",
513 1.6
514 ],
515 [
516 "zoom"
517 ],
518 14,
519 0,
520 20,
521 7
522 ]
523 }
524 },
525 {
526 "id": "roads_tunnels_minor_casing",
527 "type": "line",
528 "source": "protomaps",
529 "source-layer": "roads",
530 "filter": [
531 "all",
532 [
533 "has",
534 "is_tunnel"
535 ],
536 [
537 "==",
538 "kind",
539 "minor_road"
540 ]
541 ],
542 "paint": {
543 "line-color": "#e0e0e0",
544 "line-dasharray": [
545 3,
546 2
547 ],
548 "line-gap-width": [
549 "interpolate",
550 [
551 "exponential",
552 1.6
553 ],
554 [
555 "zoom"
556 ],
557 11,
558 0,
559 12.5,
560 0.5,
561 15,
562 2,
563 18,
564 11
565 ],
566 "line-width": [
567 "interpolate",
568 [
569 "exponential",
570 1.6
571 ],
572 [
573 "zoom"
574 ],
575 12,
576 0,
577 12.5,
578 1
579 ]
580 }
581 },
582 {
583 "id": "roads_tunnels_link_casing",
584 "type": "line",
585 "source": "protomaps",
586 "source-layer": "roads",
587 "filter": [
588 "all",
589 [
590 "has",
591 "is_tunnel"
592 ],
593 [
594 "has",
595 "is_link"
596 ]
597 ],
598 "paint": {
599 "line-color": "#e0e0e0",
600 "line-dasharray": [
601 3,
602 2
603 ],
604 "line-gap-width": [
605 "interpolate",
606 [
607 "exponential",
608 1.6
609 ],
610 [
611 "zoom"
612 ],
613 13,
614 0,
615 13.5,
616 1,
617 18,
618 11
619 ],
620 "line-width": [
621 "interpolate",
622 [
623 "exponential",
624 1.6
625 ],
626 [
627 "zoom"
628 ],
629 12,
630 0,
631 12.5,
632 1
633 ]
634 }
635 },
636 {
637 "id": "roads_tunnels_major_casing",
638 "type": "line",
639 "source": "protomaps",
640 "source-layer": "roads",
641 "filter": [
642 "all",
643 [
644 "!has",
645 "is_tunnel"
646 ],
647 [
648 "!has",
649 "is_bridge"
650 ],
651 [
652 "==",
653 "kind",
654 "major_road"
655 ]
656 ],
657 "paint": {
658 "line-color": "#e0e0e0",
659 "line-dasharray": [
660 3,
661 2
662 ],
663 "line-gap-width": [
664 "interpolate",
665 [
666 "exponential",
667 1.6
668 ],
669 [
670 "zoom"
671 ],
672 7,
673 0,
674 7.5,
675 0.5,
676 18,
677 13
678 ],
679 "line-width": [
680 "interpolate",
681 [
682 "exponential",
683 1.6
684 ],
685 [
686 "zoom"
687 ],
688 9,
689 0,
690 9.5,
691 1
692 ]
693 }
694 },
695 {
696 "id": "roads_tunnels_highway_casing",
697 "type": "line",
698 "source": "protomaps",
699 "source-layer": "roads",
700 "filter": [
701 "all",
702 [
703 "!has",
704 "is_tunnel"
705 ],
706 [
707 "!has",
708 "is_bridge"
709 ],
710 [
711 "==",
712 "kind",
713 "highway"
714 ],
715 [
716 "!has",
717 "is_link"
718 ]
719 ],
720 "paint": {
721 "line-color": "#e0e0e0",
722 "line-dasharray": [
723 6,
724 0.5
725 ],
726 "line-gap-width": [
727 "interpolate",
728 [
729 "exponential",
730 1.6
731 ],
732 [
733 "zoom"
734 ],
735 3,
736 0,
737 3.5,
738 0.5,
739 18,
740 15
741 ],
742 "line-width": [
743 "interpolate",
744 [
745 "exponential",
746 1.6
747 ],
748 [
749 "zoom"
750 ],
751 7,
752 0,
753 7.5,
754 1,
755 20,
756 15
757 ]
758 }
759 },
760 {
761 "id": "roads_tunnels_other",
762 "type": "line",
763 "source": "protomaps",
764 "source-layer": "roads",
765 "filter": [
766 "all",
767 [
768 "has",
769 "is_tunnel"
770 ],
771 [
772 "in",
773 "kind",
774 "other",
775 "path"
776 ]
777 ],
778 "paint": {
779 "line-color": "#d5d5d5",
780 "line-dasharray": [
781 4.5,
782 0.5
783 ],
784 "line-width": [
785 "interpolate",
786 [
787 "exponential",
788 1.6
789 ],
790 [
791 "zoom"
792 ],
793 14,
794 0,
795 20,
796 7
797 ]
798 }
799 },
800 {
801 "id": "roads_tunnels_minor",
802 "type": "line",
803 "source": "protomaps",
804 "source-layer": "roads",
805 "filter": [
806 "all",
807 [
808 "has",
809 "is_tunnel"
810 ],
811 [
812 "==",
813 "kind",
814 "minor_road"
815 ]
816 ],
817 "paint": {
818 "line-color": "#d5d5d5",
819 "line-width": [
820 "interpolate",
821 [
822 "exponential",
823 1.6
824 ],
825 [
826 "zoom"
827 ],
828 11,
829 0,
830 12.5,
831 0.5,
832 15,
833 2,
834 18,
835 11
836 ]
837 }
838 },
839 {
840 "id": "roads_tunnels_link",
841 "type": "line",
842 "source": "protomaps",
843 "source-layer": "roads",
844 "filter": [
845 "all",
846 [
847 "has",
848 "is_tunnel"
849 ],
850 [
851 "has",
852 "is_link"
853 ]
854 ],
855 "paint": {
856 "line-color": "#d5d5d5",
857 "line-width": [
858 "interpolate",
859 [
860 "exponential",
861 1.6
862 ],
863 [
864 "zoom"
865 ],
866 13,
867 0,
868 13.5,
869 1,
870 18,
871 11
872 ]
873 }
874 },
875 {
876 "id": "roads_tunnels_major",
877 "type": "line",
878 "source": "protomaps",
879 "source-layer": "roads",
880 "filter": [
881 "all",
882 [
883 "has",
884 "is_tunnel"
885 ],
886 [
887 "==",
888 "kind",
889 "major_road"
890 ]
891 ],
892 "paint": {
893 "line-color": "#d5d5d5",
894 "line-width": [
895 "interpolate",
896 [
897 "exponential",
898 1.6
899 ],
900 [
901 "zoom"
902 ],
903 6,
904 0,
905 12,
906 1.6,
907 15,
908 3,
909 18,
910 13
911 ]
912 }
913 },
914 {
915 "id": "roads_tunnels_highway",
916 "type": "line",
917 "source": "protomaps",
918 "source-layer": "roads",
919 "filter": [
920 "all",
921 [
922 "has",
923 "is_tunnel"
924 ],
925 [
926 "==",
927 [
928 "get",
929 "kind"
930 ],
931 "highway"
932 ],
933 [
934 "!",
935 [
936 "has",
937 "is_link"
938 ]
939 ]
940 ],
941 "paint": {
942 "line-color": "#d5d5d5",
943 "line-width": [
944 "interpolate",
945 [
946 "exponential",
947 1.6
948 ],
949 [
950 "zoom"
951 ],
952 3,
953 0,
954 6,
955 1.1,
956 12,
957 1.6,
958 15,
959 5,
960 18,
961 15
962 ]
963 }
964 },
965 {
966 "id": "buildings",
967 "type": "fill",
968 "source": "protomaps",
969 "source-layer": "buildings",
970 "filter": [
971 "in",
972 "kind",
973 "building",
974 "building_part"
975 ],
976 "paint": {
977 "fill-color": "#cccccc",
978 "fill-opacity": 0.5
979 }
980 },
981 {
982 "id": "roads_pier",
983 "type": "line",
984 "source": "protomaps",
985 "source-layer": "roads",
986 "filter": [
987 "==",
988 "kind_detail",
989 "pier"
990 ],
991 "paint": {
992 "line-color": "#e0e0e0",
993 "line-width": [
994 "interpolate",
995 [
996 "exponential",
997 1.6
998 ],
999 [
1000 "zoom"
1001 ],
1002 12,
1003 0,
1004 12.5,
1005 0.5,
1006 20,
1007 16
1008 ]
1009 }
1010 },
1011 {
1012 "id": "roads_minor_service_casing",
1013 "type": "line",
1014 "source": "protomaps",
1015 "source-layer": "roads",
1016 "minzoom": 13,
1017 "filter": [
1018 "all",
1019 [
1020 "!has",
1021 "is_tunnel"
1022 ],
1023 [
1024 "!has",
1025 "is_bridge"
1026 ],
1027 [
1028 "==",
1029 "kind",
1030 "minor_road"
1031 ],
1032 [
1033 "==",
1034 "kind_detail",
1035 "service"
1036 ]
1037 ],
1038 "paint": {
1039 "line-color": "#e0e0e0",
1040 "line-gap-width": [
1041 "interpolate",
1042 [
1043 "exponential",
1044 1.6
1045 ],
1046 [
1047 "zoom"
1048 ],
1049 13,
1050 0,
1051 18,
1052 8
1053 ],
1054 "line-width": [
1055 "interpolate",
1056 [
1057 "exponential",
1058 1.6
1059 ],
1060 [
1061 "zoom"
1062 ],
1063 13,
1064 0,
1065 13.5,
1066 0.8
1067 ]
1068 }
1069 },
1070 {
1071 "id": "roads_minor_casing",
1072 "type": "line",
1073 "source": "protomaps",
1074 "source-layer": "roads",
1075 "filter": [
1076 "all",
1077 [
1078 "!has",
1079 "is_tunnel"
1080 ],
1081 [
1082 "!has",
1083 "is_bridge"
1084 ],
1085 [
1086 "==",
1087 "kind",
1088 "minor_road"
1089 ],
1090 [
1091 "!=",
1092 "kind_detail",
1093 "service"
1094 ]
1095 ],
1096 "paint": {
1097 "line-color": "#e0e0e0",
1098 "line-gap-width": [
1099 "interpolate",
1100 [
1101 "exponential",
1102 1.6
1103 ],
1104 [
1105 "zoom"
1106 ],
1107 11,
1108 0,
1109 12.5,
1110 0.5,
1111 15,
1112 2,
1113 18,
1114 11
1115 ],
1116 "line-width": [
1117 "interpolate",
1118 [
1119 "exponential",
1120 1.6
1121 ],
1122 [
1123 "zoom"
1124 ],
1125 12,
1126 0,
1127 12.5,
1128 1
1129 ]
1130 }
1131 },
1132 {
1133 "id": "roads_link_casing",
1134 "type": "line",
1135 "source": "protomaps",
1136 "source-layer": "roads",
1137 "minzoom": 13,
1138 "filter": [
1139 "has",
1140 "is_link"
1141 ],
1142 "paint": {
1143 "line-color": "#e0e0e0",
1144 "line-gap-width": [
1145 "interpolate",
1146 [
1147 "exponential",
1148 1.6
1149 ],
1150 [
1151 "zoom"
1152 ],
1153 13,
1154 0,
1155 13.5,
1156 1,
1157 18,
1158 11
1159 ],
1160 "line-width": [
1161 "interpolate",
1162 [
1163 "exponential",
1164 1.6
1165 ],
1166 [
1167 "zoom"
1168 ],
1169 13,
1170 0,
1171 13.5,
1172 1.5
1173 ]
1174 }
1175 },
1176 {
1177 "id": "roads_major_casing_late",
1178 "type": "line",
1179 "source": "protomaps",
1180 "source-layer": "roads",
1181 "minzoom": 12,
1182 "filter": [
1183 "all",
1184 [
1185 "!has",
1186 "is_tunnel"
1187 ],
1188 [
1189 "!has",
1190 "is_bridge"
1191 ],
1192 [
1193 "==",
1194 "kind",
1195 "major_road"
1196 ]
1197 ],
1198 "paint": {
1199 "line-color": "#e0e0e0",
1200 "line-gap-width": [
1201 "interpolate",
1202 [
1203 "exponential",
1204 1.6
1205 ],
1206 [
1207 "zoom"
1208 ],
1209 6,
1210 0,
1211 12,
1212 1.6,
1213 15,
1214 3,
1215 18,
1216 13
1217 ],
1218 "line-width": [
1219 "interpolate",
1220 [
1221 "exponential",
1222 1.6
1223 ],
1224 [
1225 "zoom"
1226 ],
1227 9,
1228 0,
1229 9.5,
1230 1
1231 ]
1232 }
1233 },
1234 {
1235 "id": "roads_highway_casing_late",
1236 "type": "line",
1237 "source": "protomaps",
1238 "source-layer": "roads",
1239 "minzoom": 12,
1240 "filter": [
1241 "all",
1242 [
1243 "!has",
1244 "is_tunnel"
1245 ],
1246 [
1247 "!has",
1248 "is_bridge"
1249 ],
1250 [
1251 "==",
1252 "kind",
1253 "highway"
1254 ],
1255 [
1256 "!has",
1257 "is_link"
1258 ]
1259 ],
1260 "paint": {
1261 "line-color": "#e0e0e0",
1262 "line-gap-width": [
1263 "interpolate",
1264 [
1265 "exponential",
1266 1.6
1267 ],
1268 [
1269 "zoom"
1270 ],
1271 3,
1272 0,
1273 3.5,
1274 0.5,
1275 18,
1276 15
1277 ],
1278 "line-width": [
1279 "interpolate",
1280 [
1281 "exponential",
1282 1.6
1283 ],
1284 [
1285 "zoom"
1286 ],
1287 7,
1288 0,
1289 7.5,
1290 1,
1291 20,
1292 15
1293 ]
1294 }
1295 },
1296 {
1297 "id": "roads_other",
1298 "type": "line",
1299 "source": "protomaps",
1300 "source-layer": "roads",
1301 "filter": [
1302 "all",
1303 [
1304 "!has",
1305 "is_tunnel"
1306 ],
1307 [
1308 "!has",
1309 "is_bridge"
1310 ],
1311 [
1312 "in",
1313 "kind",
1314 "other",
1315 "path"
1316 ],
1317 [
1318 "!=",
1319 "kind_detail",
1320 "pier"
1321 ]
1322 ],
1323 "paint": {
1324 "line-color": "#ebebeb",
1325 "line-dasharray": [
1326 3,
1327 1
1328 ],
1329 "line-width": [
1330 "interpolate",
1331 [
1332 "exponential",
1333 1.6
1334 ],
1335 [
1336 "zoom"
1337 ],
1338 14,
1339 0,
1340 20,
1341 7
1342 ]
1343 }
1344 },
1345 {
1346 "id": "roads_link",
1347 "type": "line",
1348 "source": "protomaps",
1349 "source-layer": "roads",
1350 "filter": [
1351 "has",
1352 "is_link"
1353 ],
1354 "paint": {
1355 "line-color": "#ffffff",
1356 "line-width": [
1357 "interpolate",
1358 [
1359 "exponential",
1360 1.6
1361 ],
1362 [
1363 "zoom"
1364 ],
1365 13,
1366 0,
1367 13.5,
1368 1,
1369 18,
1370 11
1371 ]
1372 }
1373 },
1374 {
1375 "id": "roads_minor_service",
1376 "type": "line",
1377 "source": "protomaps",
1378 "source-layer": "roads",
1379 "filter": [
1380 "all",
1381 [
1382 "!has",
1383 "is_tunnel"
1384 ],
1385 [
1386 "!has",
1387 "is_bridge"
1388 ],
1389 [
1390 "==",
1391 "kind",
1392 "minor_road"
1393 ],
1394 [
1395 "==",
1396 "kind_detail",
1397 "service"
1398 ]
1399 ],
1400 "paint": {
1401 "line-color": "#ebebeb",
1402 "line-width": [
1403 "interpolate",
1404 [
1405 "exponential",
1406 1.6
1407 ],
1408 [
1409 "zoom"
1410 ],
1411 13,
1412 0,
1413 18,
1414 8
1415 ]
1416 }
1417 },
1418 {
1419 "id": "roads_minor",
1420 "type": "line",
1421 "source": "protomaps",
1422 "source-layer": "roads",
1423 "filter": [
1424 "all",
1425 [
1426 "!has",
1427 "is_tunnel"
1428 ],
1429 [
1430 "!has",
1431 "is_bridge"
1432 ],
1433 [
1434 "==",
1435 "kind",
1436 "minor_road"
1437 ],
1438 [
1439 "!=",
1440 "kind_detail",
1441 "service"
1442 ]
1443 ],
1444 "paint": {
1445 "line-color": [
1446 "interpolate",
1447 [
1448 "exponential",
1449 1.6
1450 ],
1451 [
1452 "zoom"
1453 ],
1454 11,
1455 "#ebebeb",
1456 16,
1457 "#ffffff"
1458 ],
1459 "line-width": [
1460 "interpolate",
1461 [
1462 "exponential",
1463 1.6
1464 ],
1465 [
1466 "zoom"
1467 ],
1468 11,
1469 0,
1470 12.5,
1471 0.5,
1472 15,
1473 2,
1474 18,
1475 11
1476 ]
1477 }
1478 },
1479 {
1480 "id": "roads_major_casing_early",
1481 "type": "line",
1482 "source": "protomaps",
1483 "source-layer": "roads",
1484 "maxzoom": 12,
1485 "filter": [
1486 "all",
1487 [
1488 "!has",
1489 "is_tunnel"
1490 ],
1491 [
1492 "!has",
1493 "is_bridge"
1494 ],
1495 [
1496 "==",
1497 "kind",
1498 "major_road"
1499 ]
1500 ],
1501 "paint": {
1502 "line-color": "#e0e0e0",
1503 "line-gap-width": [
1504 "interpolate",
1505 [
1506 "exponential",
1507 1.6
1508 ],
1509 [
1510 "zoom"
1511 ],
1512 7,
1513 0,
1514 7.5,
1515 0.5,
1516 18,
1517 13
1518 ],
1519 "line-width": [
1520 "interpolate",
1521 [
1522 "exponential",
1523 1.6
1524 ],
1525 [
1526 "zoom"
1527 ],
1528 9,
1529 0,
1530 9.5,
1531 1
1532 ]
1533 }
1534 },
1535 {
1536 "id": "roads_major",
1537 "type": "line",
1538 "source": "protomaps",
1539 "source-layer": "roads",
1540 "filter": [
1541 "all",
1542 [
1543 "!has",
1544 "is_tunnel"
1545 ],
1546 [
1547 "!has",
1548 "is_bridge"
1549 ],
1550 [
1551 "==",
1552 "kind",
1553 "major_road"
1554 ]
1555 ],
1556 "paint": {
1557 "line-color": "#ffffff",
1558 "line-width": [
1559 "interpolate",
1560 [
1561 "exponential",
1562 1.6
1563 ],
1564 [
1565 "zoom"
1566 ],
1567 6,
1568 0,
1569 12,
1570 1.6,
1571 15,
1572 3,
1573 18,
1574 13
1575 ]
1576 }
1577 },
1578 {
1579 "id": "roads_highway_casing_early",
1580 "type": "line",
1581 "source": "protomaps",
1582 "source-layer": "roads",
1583 "maxzoom": 12,
1584 "filter": [
1585 "all",
1586 [
1587 "!has",
1588 "is_tunnel"
1589 ],
1590 [
1591 "!has",
1592 "is_bridge"
1593 ],
1594 [
1595 "==",
1596 "kind",
1597 "highway"
1598 ],
1599 [
1600 "!has",
1601 "is_link"
1602 ]
1603 ],
1604 "paint": {
1605 "line-color": "#e0e0e0",
1606 "line-gap-width": [
1607 "interpolate",
1608 [
1609 "exponential",
1610 1.6
1611 ],
1612 [
1613 "zoom"
1614 ],
1615 3,
1616 0,
1617 3.5,
1618 0.5,
1619 18,
1620 15
1621 ],
1622 "line-width": [
1623 "interpolate",
1624 [
1625 "exponential",
1626 1.6
1627 ],
1628 [
1629 "zoom"
1630 ],
1631 7,
1632 0,
1633 7.5,
1634 1
1635 ]
1636 }
1637 },
1638 {
1639 "id": "roads_highway",
1640 "type": "line",
1641 "source": "protomaps",
1642 "source-layer": "roads",
1643 "filter": [
1644 "all",
1645 [
1646 "!has",
1647 "is_tunnel"
1648 ],
1649 [
1650 "!has",
1651 "is_bridge"
1652 ],
1653 [
1654 "==",
1655 "kind",
1656 "highway"
1657 ],
1658 [
1659 "!has",
1660 "is_link"
1661 ]
1662 ],
1663 "paint": {
1664 "line-color": "#ffffff",
1665 "line-width": [
1666 "interpolate",
1667 [
1668 "exponential",
1669 1.6
1670 ],
1671 [
1672 "zoom"
1673 ],
1674 3,
1675 0,
1676 6,
1677 1.1,
1678 12,
1679 1.6,
1680 15,
1681 5,
1682 18,
1683 15
1684 ]
1685 }
1686 },
1687 {
1688 "id": "roads_rail",
1689 "type": "line",
1690 "source": "protomaps",
1691 "source-layer": "roads",
1692 "filter": [
1693 "==",
1694 "kind",
1695 "rail"
1696 ],
1697 "paint": {
1698 "line-dasharray": [
1699 0.3,
1700 0.75
1701 ],
1702 "line-opacity": 0.5,
1703 "line-color": "#a7b1b3",
1704 "line-width": [
1705 "interpolate",
1706 [
1707 "exponential",
1708 1.6
1709 ],
1710 [
1711 "zoom"
1712 ],
1713 3,
1714 0,
1715 6,
1716 0.15,
1717 18,
1718 9
1719 ]
1720 }
1721 },
1722 {
1723 "id": "boundaries_country",
1724 "type": "line",
1725 "source": "protomaps",
1726 "source-layer": "boundaries",
1727 "filter": [
1728 "<=",
1729 "kind_detail",
1730 2
1731 ],
1732 "paint": {
1733 "line-color": "#adadad",
1734 "line-width": 0.7,
1735 "line-dasharray": [
1736 "step",
1737 [
1738 "zoom"
1739 ],
1740 [
1741 "literal",
1742 [
1743 2,
1744 0
1745 ]
1746 ],
1747 4,
1748 [
1749 "literal",
1750 [
1751 2,
1752 1
1753 ]
1754 ]
1755 ]
1756 }
1757 },
1758 {
1759 "id": "boundaries",
1760 "type": "line",
1761 "source": "protomaps",
1762 "source-layer": "boundaries",
1763 "filter": [
1764 ">",
1765 "kind_detail",
1766 2
1767 ],
1768 "paint": {
1769 "line-color": "#adadad",
1770 "line-width": 0.4,
1771 "line-dasharray": [
1772 "step",
1773 [
1774 "zoom"
1775 ],
1776 [
1777 "literal",
1778 [
1779 2,
1780 0
1781 ]
1782 ],
1783 4,
1784 [
1785 "literal",
1786 [
1787 2,
1788 1
1789 ]
1790 ]
1791 ]
1792 }
1793 },
1794 {
1795 "id": "roads_bridges_other_casing",
1796 "type": "line",
1797 "source": "protomaps",
1798 "source-layer": "roads",
1799 "minzoom": 12,
1800 "filter": [
1801 "all",
1802 [
1803 "has",
1804 "is_bridge"
1805 ],
1806 [
1807 "in",
1808 "kind",
1809 "other",
1810 "path"
1811 ]
1812 ],
1813 "paint": {
1814 "line-color": "#e0e0e0",
1815 "line-gap-width": [
1816 "interpolate",
1817 [
1818 "exponential",
1819 1.6
1820 ],
1821 [
1822 "zoom"
1823 ],
1824 14,
1825 0,
1826 20,
1827 7
1828 ]
1829 }
1830 },
1831 {
1832 "id": "roads_bridges_link_casing",
1833 "type": "line",
1834 "source": "protomaps",
1835 "source-layer": "roads",
1836 "minzoom": 12,
1837 "filter": [
1838 "all",
1839 [
1840 "has",
1841 "is_bridge"
1842 ],
1843 [
1844 "has",
1845 "is_link"
1846 ]
1847 ],
1848 "paint": {
1849 "line-color": "#e0e0e0",
1850 "line-gap-width": [
1851 "interpolate",
1852 [
1853 "exponential",
1854 1.6
1855 ],
1856 [
1857 "zoom"
1858 ],
1859 13,
1860 0,
1861 13.5,
1862 1,
1863 18,
1864 11
1865 ],
1866 "line-width": [
1867 "interpolate",
1868 [
1869 "exponential",
1870 1.6
1871 ],
1872 [
1873 "zoom"
1874 ],
1875 12,
1876 0,
1877 12.5,
1878 1.5
1879 ]
1880 }
1881 },
1882 {
1883 "id": "roads_bridges_minor_casing",
1884 "type": "line",
1885 "source": "protomaps",
1886 "source-layer": "roads",
1887 "minzoom": 12,
1888 "filter": [
1889 "all",
1890 [
1891 "has",
1892 "is_bridge"
1893 ],
1894 [
1895 "==",
1896 "kind",
1897 "minor_road"
1898 ]
1899 ],
1900 "paint": {
1901 "line-color": "#e0e0e0",
1902 "line-gap-width": [
1903 "interpolate",
1904 [
1905 "exponential",
1906 1.6
1907 ],
1908 [
1909 "zoom"
1910 ],
1911 11,
1912 0,
1913 12.5,
1914 0.5,
1915 15,
1916 2,
1917 18,
1918 11
1919 ],
1920 "line-width": [
1921 "interpolate",
1922 [
1923 "exponential",
1924 1.6
1925 ],
1926 [
1927 "zoom"
1928 ],
1929 13,
1930 0,
1931 13.5,
1932 0.8
1933 ]
1934 }
1935 },
1936 {
1937 "id": "roads_bridges_major_casing",
1938 "type": "line",
1939 "source": "protomaps",
1940 "source-layer": "roads",
1941 "minzoom": 12,
1942 "filter": [
1943 "all",
1944 [
1945 "has",
1946 "is_bridge"
1947 ],
1948 [
1949 "==",
1950 "kind",
1951 "major_road"
1952 ]
1953 ],
1954 "paint": {
1955 "line-color": "#e0e0e0",
1956 "line-gap-width": [
1957 "interpolate",
1958 [
1959 "exponential",
1960 1.6
1961 ],
1962 [
1963 "zoom"
1964 ],
1965 7,
1966 0,
1967 7.5,
1968 0.5,
1969 18,
1970 10
1971 ],
1972 "line-width": [
1973 "interpolate",
1974 [
1975 "exponential",
1976 1.6
1977 ],
1978 [
1979 "zoom"
1980 ],
1981 9,
1982 0,
1983 9.5,
1984 1.5
1985 ]
1986 }
1987 },
1988 {
1989 "id": "roads_bridges_other",
1990 "type": "line",
1991 "source": "protomaps",
1992 "source-layer": "roads",
1993 "minzoom": 12,
1994 "filter": [
1995 "all",
1996 [
1997 "has",
1998 "is_bridge"
1999 ],
2000 [
2001 "in",
2002 "kind",
2003 "other",
2004 "path"
2005 ]
2006 ],
2007 "paint": {
2008 "line-color": "#ebebeb",
2009 "line-dasharray": [
2010 2,
2011 1
2012 ],
2013 "line-width": [
2014 "interpolate",
2015 [
2016 "exponential",
2017 1.6
2018 ],
2019 [
2020 "zoom"
2021 ],
2022 14,
2023 0,
2024 20,
2025 7
2026 ]
2027 }
2028 },
2029 {
2030 "id": "roads_bridges_minor",
2031 "type": "line",
2032 "source": "protomaps",
2033 "source-layer": "roads",
2034 "minzoom": 12,
2035 "filter": [
2036 "all",
2037 [
2038 "has",
2039 "is_bridge"
2040 ],
2041 [
2042 "==",
2043 "kind",
2044 "minor_road"
2045 ]
2046 ],
2047 "paint": {
2048 "line-color": "#ffffff",
2049 "line-width": [
2050 "interpolate",
2051 [
2052 "exponential",
2053 1.6
2054 ],
2055 [
2056 "zoom"
2057 ],
2058 11,
2059 0,
2060 12.5,
2061 0.5,
2062 15,
2063 2,
2064 18,
2065 11
2066 ]
2067 }
2068 },
2069 {
2070 "id": "roads_bridges_link",
2071 "type": "line",
2072 "source": "protomaps",
2073 "source-layer": "roads",
2074 "minzoom": 12,
2075 "filter": [
2076 "all",
2077 [
2078 "has",
2079 "is_bridge"
2080 ],
2081 [
2082 "has",
2083 "is_link"
2084 ]
2085 ],
2086 "paint": {
2087 "line-color": "#ffffff",
2088 "line-width": [
2089 "interpolate",
2090 [
2091 "exponential",
2092 1.6
2093 ],
2094 [
2095 "zoom"
2096 ],
2097 13,
2098 0,
2099 13.5,
2100 1,
2101 18,
2102 11
2103 ]
2104 }
2105 },
2106 {
2107 "id": "roads_bridges_major",
2108 "type": "line",
2109 "source": "protomaps",
2110 "source-layer": "roads",
2111 "minzoom": 12,
2112 "filter": [
2113 "all",
2114 [
2115 "has",
2116 "is_bridge"
2117 ],
2118 [
2119 "==",
2120 "kind",
2121 "major_road"
2122 ]
2123 ],
2124 "paint": {
2125 "line-color": "#f5f5f5",
2126 "line-width": [
2127 "interpolate",
2128 [
2129 "exponential",
2130 1.6
2131 ],
2132 [
2133 "zoom"
2134 ],
2135 6,
2136 0,
2137 12,
2138 1.6,
2139 15,
2140 3,
2141 18,
2142 13
2143 ]
2144 }
2145 },
2146 {
2147 "id": "roads_bridges_highway_casing",
2148 "type": "line",
2149 "source": "protomaps",
2150 "source-layer": "roads",
2151 "minzoom": 12,
2152 "filter": [
2153 "all",
2154 [
2155 "has",
2156 "is_bridge"
2157 ],
2158 [
2159 "==",
2160 "kind",
2161 "highway"
2162 ],
2163 [
2164 "!has",
2165 "is_link"
2166 ]
2167 ],
2168 "paint": {
2169 "line-color": "#e0e0e0",
2170 "line-gap-width": [
2171 "interpolate",
2172 [
2173 "exponential",
2174 1.6
2175 ],
2176 [
2177 "zoom"
2178 ],
2179 3,
2180 0,
2181 3.5,
2182 0.5,
2183 18,
2184 15
2185 ],
2186 "line-width": [
2187 "interpolate",
2188 [
2189 "exponential",
2190 1.6
2191 ],
2192 [
2193 "zoom"
2194 ],
2195 7,
2196 0,
2197 7.5,
2198 1,
2199 20,
2200 15
2201 ]
2202 }
2203 },
2204 {
2205 "id": "roads_bridges_highway",
2206 "type": "line",
2207 "source": "protomaps",
2208 "source-layer": "roads",
2209 "filter": [
2210 "all",
2211 [
2212 "has",
2213 "is_bridge"
2214 ],
2215 [
2216 "==",
2217 "kind",
2218 "highway"
2219 ],
2220 [
2221 "!has",
2222 "is_link"
2223 ]
2224 ],
2225 "paint": {
2226 "line-color": "#ffffff",
2227 "line-width": [
2228 "interpolate",
2229 [
2230 "exponential",
2231 1.6
2232 ],
2233 [
2234 "zoom"
2235 ],
2236 3,
2237 0,
2238 6,
2239 1.1,
2240 12,
2241 1.6,
2242 15,
2243 5,
2244 18,
2245 15
2246 ]
2247 }
2248 },
2249 {
2250 "id": "address_label",
2251 "type": "symbol",
2252 "source": "protomaps",
2253 "source-layer": "buildings",
2254 "minzoom": 18,
2255 "filter": [
2256 "==",
2257 "kind",
2258 "address"
2259 ],
2260 "layout": {
2261 "symbol-placement": "point",
2262 "text-font": [
2263 "Noto Sans Italic"
2264 ],
2265 "text-field": [
2266 "get",
2267 "addr_housenumber"
2268 ],
2269 "text-size": 12
2270 },
2271 "paint": {
2272 "text-color": "#91888b",
2273 "text-halo-color": "#ffffff",
2274 "text-halo-width": 1
2275 }
2276 },
2277 {
2278 "id": "water_waterway_label",
2279 "type": "symbol",
2280 "source": "protomaps",
2281 "source-layer": "water",
2282 "minzoom": 13,
2283 "filter": [
2284 "in",
2285 "kind",
2286 "river",
2287 "stream"
2288 ],
2289 "layout": {
2290 "symbol-placement": "line",
2291 "text-font": [
2292 "Noto Sans Italic"
2293 ],
2294 "text-field": [
2295 "coalesce",
2296 [
2297 "get",
2298 "name:en"
2299 ],
2300 [
2301 "get",
2302 "name"
2303 ],
2304 [
2305 "get",
2306 "pgf:name"
2307 ],
2308 ""
2309 ],
2310 "text-size": 12,
2311 "text-letter-spacing": 0.2
2312 },
2313 "paint": {
2314 "text-color": "#728dd4",
2315 "text-halo-color": "#80deea",
2316 "text-halo-width": 1
2317 }
2318 },
2319 {
2320 "id": "roads_oneway",
2321 "type": "symbol",
2322 "source": "protomaps",
2323 "source-layer": "roads",
2324 "minzoom": 16,
2325 "filter": [
2326 "==",
2327 [
2328 "get",
2329 "oneway"
2330 ],
2331 "yes"
2332 ],
2333 "layout": {
2334 "symbol-placement": "line",
2335 "icon-image": "arrow",
2336 "icon-rotate": 90,
2337 "symbol-spacing": 100
2338 }
2339 },
2340 {
2341 "id": "roads_labels_minor",
2342 "type": "symbol",
2343 "source": "protomaps",
2344 "source-layer": "roads",
2345 "minzoom": 15,
2346 "filter": [
2347 "in",
2348 "kind",
2349 "minor_road",
2350 "other",
2351 "path"
2352 ],
2353 "layout": {
2354 "symbol-sort-key": [
2355 "get",
2356 "min_zoom"
2357 ],
2358 "symbol-placement": "line",
2359 "text-font": [
2360 "Noto Sans Regular"
2361 ],
2362 "text-field": [
2363 "coalesce",
2364 [
2365 "get",
2366 "name:en"
2367 ],
2368 [
2369 "get",
2370 "name"
2371 ],
2372 [
2373 "get",
2374 "pgf:name"
2375 ],
2376 ""
2377 ],
2378 "text-size": 12
2379 },
2380 "paint": {
2381 "text-color": "#91888b",
2382 "text-halo-color": "#ffffff",
2383 "text-halo-width": 1
2384 }
2385 },
2386 {
2387 "id": "water_label_ocean",
2388 "type": "symbol",
2389 "source": "protomaps",
2390 "source-layer": "water",
2391 "filter": [
2392 "in",
2393 "kind",
2394 "sea",
2395 "ocean",
2396 "bay",
2397 "strait",
2398 "fjord"
2399 ],
2400 "layout": {
2401 "text-font": [
2402 "Noto Sans Italic"
2403 ],
2404 "text-field": [
2405 "coalesce",
2406 [
2407 "get",
2408 "name:en"
2409 ],
2410 [
2411 "get",
2412 "name"
2413 ],
2414 [
2415 "get",
2416 "pgf:name"
2417 ],
2418 ""
2419 ],
2420 "text-size": [
2421 "interpolate",
2422 [
2423 "linear"
2424 ],
2425 [
2426 "zoom"
2427 ],
2428 3,
2429 10,
2430 10,
2431 12
2432 ],
2433 "text-letter-spacing": 0.1,
2434 "text-max-width": 9,
2435 "text-transform": "uppercase"
2436 },
2437 "paint": {
2438 "text-color": "#728dd4",
2439 "text-halo-width": 1,
2440 "text-halo-color": "#80deea"
2441 }
2442 },
2443 {
2444 "id": "earth_label_islands",
2445 "type": "symbol",
2446 "source": "protomaps",
2447 "source-layer": "earth",
2448 "filter": [
2449 "in",
2450 "kind",
2451 "island"
2452 ],
2453 "layout": {
2454 "text-font": [
2455 "Noto Sans Italic"
2456 ],
2457 "text-field": [
2458 "coalesce",
2459 [
2460 "get",
2461 "name:en"
2462 ],
2463 [
2464 "get",
2465 "name"
2466 ],
2467 [
2468 "get",
2469 "pgf:name"
2470 ],
2471 ""
2472 ],
2473 "text-size": 10,
2474 "text-letter-spacing": 0.1,
2475 "text-max-width": 8
2476 },
2477 "paint": {
2478 "text-color": "#8f8f8f",
2479 "text-halo-color": "#e0e0e0",
2480 "text-halo-width": 1
2481 }
2482 },
2483 {
2484 "id": "water_label_lakes",
2485 "type": "symbol",
2486 "source": "protomaps",
2487 "source-layer": "water",
2488 "filter": [
2489 "in",
2490 "kind",
2491 "lake",
2492 "water"
2493 ],
2494 "layout": {
2495 "text-font": [
2496 "Noto Sans Italic"
2497 ],
2498 "text-field": [
2499 "coalesce",
2500 [
2501 "get",
2502 "name:en"
2503 ],
2504 [
2505 "get",
2506 "name"
2507 ],
2508 [
2509 "get",
2510 "pgf:name"
2511 ],
2512 ""
2513 ],
2514 "text-size": [
2515 "interpolate",
2516 [
2517 "linear"
2518 ],
2519 [
2520 "zoom"
2521 ],
2522 3,
2523 10,
2524 6,
2525 12,
2526 10,
2527 12
2528 ],
2529 "text-letter-spacing": 0.1,
2530 "text-max-width": 9
2531 },
2532 "paint": {
2533 "text-color": "#728dd4",
2534 "text-halo-color": "#80deea",
2535 "text-halo-width": 1
2536 }
2537 },
2538 {
2539 "id": "roads_shields",
2540 "type": "symbol",
2541 "source": "protomaps",
2542 "source-layer": "roads",
2543 "filter": [
2544 "all",
2545 [
2546 "in",
2547 [
2548 "get",
2549 "kind"
2550 ],
2551 [
2552 "literal",
2553 [
2554 "highway",
2555 "major_road"
2556 ]
2557 ]
2558 ],
2559 [
2560 "has",
2561 "shield_text"
2562 ],
2563 [
2564 "<=",
2565 [
2566 "length",
2567 [
2568 "get",
2569 "shield_text"
2570 ]
2571 ],
2572 5
2573 ]
2574 ],
2575 "layout": {
2576 "icon-image": [
2577 "match",
2578 [
2579 "get",
2580 "network"
2581 ],
2582 "US:I",
2583 [
2584 "concat",
2585 "US:I-",
2586 [
2587 "length",
2588 [
2589 "get",
2590 "shield_text"
2591 ]
2592 ],
2593 "char"
2594 ],
2595 "NL:S-road",
2596 [
2597 "concat",
2598 "NL:S-road-",
2599 [
2600 "length",
2601 [
2602 "get",
2603 "shield_text"
2604 ]
2605 ],
2606 "char"
2607 ],
2608 [
2609 "concat",
2610 "generic_shield-",
2611 [
2612 "length",
2613 [
2614 "get",
2615 "shield_text"
2616 ]
2617 ],
2618 "char"
2619 ]
2620 ],
2621 "text-field": [
2622 "get",
2623 "shield_text"
2624 ],
2625 "text-font": [
2626 "Noto Sans Medium"
2627 ],
2628 "text-size": 8,
2629 "icon-size": 0.8,
2630 "symbol-placement": "line",
2631 "icon-rotation-alignment": "viewport",
2632 "text-rotation-alignment": "viewport"
2633 },
2634 "paint": {
2635 "text-color": "#938a8d"
2636 }
2637 },
2638 {
2639 "id": "roads_labels_major",
2640 "type": "symbol",
2641 "source": "protomaps",
2642 "source-layer": "roads",
2643 "minzoom": 11,
2644 "filter": [
2645 "in",
2646 "kind",
2647 "highway",
2648 "major_road"
2649 ],
2650 "layout": {
2651 "symbol-sort-key": [
2652 "get",
2653 "min_zoom"
2654 ],
2655 "symbol-placement": "line",
2656 "text-font": [
2657 "Noto Sans Regular"
2658 ],
2659 "text-field": [
2660 "coalesce",
2661 [
2662 "get",
2663 "name:en"
2664 ],
2665 [
2666 "get",
2667 "name"
2668 ],
2669 [
2670 "get",
2671 "pgf:name"
2672 ],
2673 ""
2674 ],
2675 "text-size": 12
2676 },
2677 "paint": {
2678 "text-color": "#938a8d",
2679 "text-halo-color": "#ffffff",
2680 "text-halo-width": 1
2681 }
2682 },
2683 {
2684 "id": "pois",
2685 "type": "symbol",
2686 "source": "protomaps",
2687 "source-layer": "pois",
2688 "filter": [
2689 "all",
2690 [
2691 "in",
2692 [
2693 "get",
2694 "kind"
2695 ],
2696 [
2697 "literal",
2698 [
2699 "beach",
2700 "forest",
2701 "marina",
2702 "park",
2703 "peak",
2704 "zoo",
2705 "garden",
2706 "bench",
2707 "aerodrome",
2708 "station",
2709 "bus_stop",
2710 "ferry_terminal",
2711 "stadium",
2712 "university",
2713 "library",
2714 "school",
2715 "animal",
2716 "toilets",
2717 "drinking_water",
2718 "post_office",
2719 "building",
2720 "townhall",
2721 "restaurant",
2722 "fast_food",
2723 "cafe",
2724 "bar",
2725 "supermarket",
2726 "convenience",
2727 "books",
2728 "beauty",
2729 "electronics",
2730 "clothes",
2731 "attraction",
2732 "museum",
2733 "theatre",
2734 "artwork"
2735 ]
2736 ]
2737 ],
2738 [
2739 ">=",
2740 [
2741 "zoom"
2742 ],
2743 [
2744 "get",
2745 "min_zoom"
2746 ]
2747 ]
2748 ],
2749 "layout": {
2750 "icon-image": [
2751 "match",
2752 [
2753 "get",
2754 "kind"
2755 ],
2756 "station",
2757 "train_station",
2758 [
2759 "get",
2760 "kind"
2761 ]
2762 ],
2763 "text-font": [
2764 "Noto Sans Regular"
2765 ],
2766 "text-justify": "auto",
2767 "text-field": [
2768 "coalesce",
2769 [
2770 "get",
2771 "name:en"
2772 ],
2773 [
2774 "get",
2775 "name"
2776 ],
2777 [
2778 "get",
2779 "pgf:name"
2780 ],
2781 ""
2782 ],
2783 "text-size": [
2784 "interpolate",
2785 [
2786 "linear"
2787 ],
2788 [
2789 "zoom"
2790 ],
2791 17,
2792 10,
2793 19,
2794 16
2795 ],
2796 "text-max-width": 8,
2797 "text-offset": [
2798 1.1,
2799 0
2800 ],
2801 "text-variable-anchor": [
2802 "left",
2803 "right"
2804 ]
2805 },
2806 "paint": {
2807 "text-color": [
2808 "case",
2809 [
2810 "in",
2811 [
2812 "get",
2813 "kind"
2814 ],
2815 [
2816 "literal",
2817 [
2818 "beach",
2819 "forest",
2820 "marina",
2821 "park",
2822 "peak",
2823 "zoo",
2824 "garden",
2825 "bench"
2826 ]
2827 ]
2828 ],
2829 "#20834D",
2830 [
2831 "in",
2832 [
2833 "get",
2834 "kind"
2835 ],
2836 [
2837 "literal",
2838 [
2839 "aerodrome",
2840 "station",
2841 "bus_stop",
2842 "ferry_terminal"
2843 ]
2844 ]
2845 ],
2846 "#315BCF",
2847 [
2848 "in",
2849 [
2850 "get",
2851 "kind"
2852 ],
2853 [
2854 "literal",
2855 [
2856 "stadium",
2857 "university",
2858 "library",
2859 "school",
2860 "animal",
2861 "toilets",
2862 "drinking_water",
2863 "post_office",
2864 "building",
2865 "townhall"
2866 ]
2867 ]
2868 ],
2869 "#6A5B8F",
2870 [
2871 "in",
2872 [
2873 "get",
2874 "kind"
2875 ],
2876 [
2877 "literal",
2878 [
2879 "supermarket",
2880 "convenience",
2881 "books",
2882 "beauty",
2883 "electronics",
2884 "clothes"
2885 ]
2886 ]
2887 ],
2888 "#1A8CBD",
2889 [
2890 "in",
2891 [
2892 "get",
2893 "kind"
2894 ],
2895 [
2896 "literal",
2897 [
2898 "restaurant",
2899 "fast_food",
2900 "cafe",
2901 "bar"
2902 ]
2903 ]
2904 ],
2905 "#CB6704",
2906 [
2907 "in",
2908 [
2909 "get",
2910 "kind"
2911 ],
2912 [
2913 "literal",
2914 [
2915 "attraction",
2916 "museum",
2917 "theatre",
2918 "artwork"
2919 ]
2920 ]
2921 ],
2922 "#EF56BA",
2923 "#e2dfda"
2924 ],
2925 "text-halo-color": "#e2dfda",
2926 "text-halo-width": 1
2927 }
2928 },
2929 {
2930 "id": "places_subplace",
2931 "type": "symbol",
2932 "source": "protomaps",
2933 "source-layer": "places",
2934 "filter": [
2935 "in",
2936 "kind",
2937 "neighbourhood",
2938 "macrohood"
2939 ],
2940 "layout": {
2941 "symbol-sort-key": [
2942 "case",
2943 [
2944 "has",
2945 "sort_key"
2946 ],
2947 [
2948 "get",
2949 "sort_key"
2950 ],
2951 [
2952 "get",
2953 "min_zoom"
2954 ]
2955 ],
2956 "text-field": [
2957 "coalesce",
2958 [
2959 "get",
2960 "name:en"
2961 ],
2962 [
2963 "get",
2964 "name"
2965 ],
2966 [
2967 "get",
2968 "pgf:name"
2969 ],
2970 ""
2971 ],
2972 "text-font": [
2973 "Noto Sans Regular"
2974 ],
2975 "text-max-width": 7,
2976 "text-letter-spacing": 0.1,
2977 "text-padding": [
2978 "interpolate",
2979 [
2980 "linear"
2981 ],
2982 [
2983 "zoom"
2984 ],
2985 5,
2986 2,
2987 8,
2988 4,
2989 12,
2990 18,
2991 15,
2992 20
2993 ],
2994 "text-size": [
2995 "interpolate",
2996 [
2997 "linear"
2998 ],
2999 [
3000 "zoom"
3001 ],
3002 11,
3003 8,
3004 14,
3005 14,
3006 18,
3007 24
3008 ],
3009 "text-transform": "uppercase"
3010 },
3011 "paint": {
3012 "text-color": "#8f8f8f",
3013 "text-halo-color": "#e0e0e0",
3014 "text-halo-width": 1
3015 }
3016 },
3017 {
3018 "id": "places_region",
3019 "type": "symbol",
3020 "source": "protomaps",
3021 "source-layer": "places",
3022 "filter": [
3023 "==",
3024 "kind",
3025 "region"
3026 ],
3027 "layout": {
3028 "symbol-sort-key": [
3029 "get",
3030 "sort_key"
3031 ],
3032 "text-field": [
3033 "step",
3034 [
3035 "zoom"
3036 ],
3037 [
3038 "coalesce",
3039 [
3040 "get",
3041 "ref:en"
3042 ],
3043 [
3044 "get",
3045 "ref"
3046 ]
3047 ],
3048 6,
3049 [
3050 "coalesce",
3051 [
3052 "get",
3053 "name:en"
3054 ],
3055 [
3056 "get",
3057 "name"
3058 ],
3059 [
3060 "get",
3061 "pgf:name"
3062 ],
3063 ""
3064 ]
3065 ],
3066 "text-font": [
3067 "Noto Sans Regular"
3068 ],
3069 "text-size": [
3070 "interpolate",
3071 [
3072 "linear"
3073 ],
3074 [
3075 "zoom"
3076 ],
3077 3,
3078 11,
3079 7,
3080 16
3081 ],
3082 "text-radial-offset": 0.2,
3083 "text-anchor": "center",
3084 "text-transform": "uppercase"
3085 },
3086 "paint": {
3087 "text-color": "#b3b3b3",
3088 "text-halo-color": "#e0e0e0",
3089 "text-halo-width": 1
3090 }
3091 },
3092 {
3093 "id": "places_locality",
3094 "type": "symbol",
3095 "source": "protomaps",
3096 "source-layer": "places",
3097 "filter": [
3098 "==",
3099 "kind",
3100 "locality"
3101 ],
3102 "layout": {
3103 "icon-image": [
3104 "step",
3105 [
3106 "zoom"
3107 ],
3108 [
3109 "case",
3110 [
3111 "==",
3112 [
3113 "get",
3114 "capital"
3115 ],
3116 "yes"
3117 ],
3118 "capital",
3119 "townspot"
3120 ],
3121 8,
3122 ""
3123 ],
3124 "icon-size": 0.7,
3125 "text-field": [
3126 "coalesce",
3127 [
3128 "get",
3129 "name:en"
3130 ],
3131 [
3132 "get",
3133 "name"
3134 ],
3135 [
3136 "get",
3137 "pgf:name"
3138 ],
3139 ""
3140 ],
3141 "text-font": [
3142 "case",
3143 [
3144 "<=",
3145 [
3146 "get",
3147 "min_zoom"
3148 ],
3149 5
3150 ],
3151 [
3152 "literal",
3153 [
3154 "Noto Sans Medium"
3155 ]
3156 ],
3157 [
3158 "literal",
3159 [
3160 "Noto Sans Regular"
3161 ]
3162 ]
3163 ],
3164 "symbol-sort-key": [
3165 "case",
3166 [
3167 "has",
3168 "sort_key"
3169 ],
3170 [
3171 "get",
3172 "sort_key"
3173 ],
3174 [
3175 "get",
3176 "min_zoom"
3177 ]
3178 ],
3179 "text-padding": [
3180 "interpolate",
3181 [
3182 "linear"
3183 ],
3184 [
3185 "zoom"
3186 ],
3187 5,
3188 3,
3189 8,
3190 7,
3191 12,
3192 11
3193 ],
3194 "text-size": [
3195 "interpolate",
3196 [
3197 "linear"
3198 ],
3199 [
3200 "zoom"
3201 ],
3202 2,
3203 [
3204 "case",
3205 [
3206 "<",
3207 [
3208 "get",
3209 "population_rank"
3210 ],
3211 13
3212 ],
3213 8,
3214 [
3215 ">=",
3216 [
3217 "get",
3218 "population_rank"
3219 ],
3220 13
3221 ],
3222 13,
3223 0
3224 ],
3225 4,
3226 [
3227 "case",
3228 [
3229 "<",
3230 [
3231 "get",
3232 "population_rank"
3233 ],
3234 13
3235 ],
3236 10,
3237 [
3238 ">=",
3239 [
3240 "get",
3241 "population_rank"
3242 ],
3243 13
3244 ],
3245 15,
3246 0
3247 ],
3248 6,
3249 [
3250 "case",
3251 [
3252 "<",
3253 [
3254 "get",
3255 "population_rank"
3256 ],
3257 12
3258 ],
3259 11,
3260 [
3261 ">=",
3262 [
3263 "get",
3264 "population_rank"
3265 ],
3266 12
3267 ],
3268 17,
3269 0
3270 ],
3271 8,
3272 [
3273 "case",
3274 [
3275 "<",
3276 [
3277 "get",
3278 "population_rank"
3279 ],
3280 11
3281 ],
3282 11,
3283 [
3284 ">=",
3285 [
3286 "get",
3287 "population_rank"
3288 ],
3289 11
3290 ],
3291 18,
3292 0
3293 ],
3294 10,
3295 [
3296 "case",
3297 [
3298 "<",
3299 [
3300 "get",
3301 "population_rank"
3302 ],
3303 9
3304 ],
3305 12,
3306 [
3307 ">=",
3308 [
3309 "get",
3310 "population_rank"
3311 ],
3312 9
3313 ],
3314 20,
3315 0
3316 ],
3317 15,
3318 [
3319 "case",
3320 [
3321 "<",
3322 [
3323 "get",
3324 "population_rank"
3325 ],
3326 8
3327 ],
3328 12,
3329 [
3330 ">=",
3331 [
3332 "get",
3333 "population_rank"
3334 ],
3335 8
3336 ],
3337 22,
3338 0
3339 ]
3340 ],
3341 "icon-padding": [
3342 "interpolate",
3343 [
3344 "linear"
3345 ],
3346 [
3347 "zoom"
3348 ],
3349 0,
3350 0,
3351 8,
3352 4,
3353 10,
3354 8,
3355 12,
3356 6,
3357 22,
3358 2
3359 ],
3360 "text-justify": "auto",
3361 "text-variable-anchor": [
3362 "step",
3363 [
3364 "zoom"
3365 ],
3366 [
3367 "literal",
3368 [
3369 "bottom",
3370 "left",
3371 "right",
3372 "top"
3373 ]
3374 ],
3375 8,
3376 [
3377 "literal",
3378 [
3379 "center"
3380 ]
3381 ]
3382 ],
3383 "text-radial-offset": 0.3
3384 },
3385 "paint": {
3386 "text-color": "#5c5c5c",
3387 "text-halo-color": "#e0e0e0",
3388 "text-halo-width": 1
3389 }
3390 },
3391 {
3392 "id": "places_country",
3393 "type": "symbol",
3394 "source": "protomaps",
3395 "source-layer": "places",
3396 "filter": [
3397 "==",
3398 "kind",
3399 "country"
3400 ],
3401 "layout": {
3402 "symbol-sort-key": [
3403 "case",
3404 [
3405 "has",
3406 "sort_key"
3407 ],
3408 [
3409 "get",
3410 "sort_key"
3411 ],
3412 [
3413 "get",
3414 "min_zoom"
3415 ]
3416 ],
3417 "text-field": [
3418 "format",
3419 [
3420 "coalesce",
3421 [
3422 "get",
3423 "name:en"
3424 ],
3425 [
3426 "get",
3427 "name:en"
3428 ]
3429 ],
3430 {}
3431 ],
3432 "text-font": [
3433 "Noto Sans Medium"
3434 ],
3435 "text-size": [
3436 "interpolate",
3437 [
3438 "linear"
3439 ],
3440 [
3441 "zoom"
3442 ],
3443 2,
3444 [
3445 "case",
3446 [
3447 "<",
3448 [
3449 "get",
3450 "population_rank"
3451 ],
3452 10
3453 ],
3454 8,
3455 [
3456 ">=",
3457 [
3458 "get",
3459 "population_rank"
3460 ],
3461 10
3462 ],
3463 12,
3464 0
3465 ],
3466 6,
3467 [
3468 "case",
3469 [
3470 "<",
3471 [
3472 "get",
3473 "population_rank"
3474 ],
3475 8
3476 ],
3477 10,
3478 [
3479 ">=",
3480 [
3481 "get",
3482 "population_rank"
3483 ],
3484 8
3485 ],
3486 18,
3487 0
3488 ],
3489 8,
3490 [
3491 "case",
3492 [
3493 "<",
3494 [
3495 "get",
3496 "population_rank"
3497 ],
3498 7
3499 ],
3500 11,
3501 [
3502 ">=",
3503 [
3504 "get",
3505 "population_rank"
3506 ],
3507 7
3508 ],
3509 20,
3510 0
3511 ]
3512 ],
3513 "icon-padding": [
3514 "interpolate",
3515 [
3516 "linear"
3517 ],
3518 [
3519 "zoom"
3520 ],
3521 0,
3522 2,
3523 14,
3524 2,
3525 16,
3526 20,
3527 17,
3528 2,
3529 22,
3530 2
3531 ],
3532 "text-transform": "uppercase"
3533 },
3534 "paint": {
3535 "text-color": "#a3a3a3",
3536 "text-halo-color": "#e2dfda",
3537 "text-halo-width": 1
3538 }
3539 }
3540 ],
3541 "sprite": "https://data.maproj.org/basemaps-assets/sprites/v4/light",
3542 "glyphs": "https://data.maproj.org/basemaps-assets/fonts/{fontstack}/{range}.pbf"
3543}