node-red-contrib-web-worldmap 4.6.0 → 4.6.2

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