@twinmatrix/spatialverse-sdk-web 0.0.4 → 0.0.5

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.
Files changed (32) hide show
  1. package/lib/cjs/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/CameraSync.js +293 -0
  2. package/lib/cjs/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/CameraSync.js.map +1 -0
  3. package/lib/cjs/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/CameraUtils.js +35 -0
  4. package/lib/cjs/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/CameraUtils.js.map +1 -0
  5. package/lib/cjs/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/constants.js +33 -0
  6. package/lib/cjs/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/constants.js.map +1 -0
  7. package/lib/cjs/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/suncalc.js +307 -0
  8. package/lib/cjs/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/suncalc.js.map +1 -0
  9. package/lib/cjs/meta-atlas-sdk/MetaAtlasCore/focustree.json +121 -0
  10. package/lib/cjs/meta-atlas-sdk/MetaAtlasCore/whatTaxonomies.json +170 -0
  11. package/lib/cjs/meta-atlas-sdk/combined_style.json +2313 -0
  12. package/lib/cjs/meta-atlas-sdk/mapbox_draw_custom_modes/draw_marker.js +166 -0
  13. package/lib/cjs/meta-atlas-sdk/mapbox_draw_custom_modes/draw_marker.js.map +1 -0
  14. package/lib/cjs/meta-atlas-sdk/mapbox_draw_custom_modes/marker_select.js +229 -0
  15. package/lib/cjs/meta-atlas-sdk/mapbox_draw_custom_modes/marker_select.js.map +1 -0
  16. package/lib/esm/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/CameraSync.js +286 -0
  17. package/lib/esm/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/CameraSync.js.map +1 -0
  18. package/lib/esm/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/CameraUtils.js +27 -0
  19. package/lib/esm/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/CameraUtils.js.map +1 -0
  20. package/lib/esm/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/constants.js +27 -0
  21. package/lib/esm/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/constants.js.map +1 -0
  22. package/lib/esm/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/suncalc.js +305 -0
  23. package/lib/esm/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/suncalc.js.map +1 -0
  24. package/lib/esm/meta-atlas-sdk/MetaAtlasCore/focustree.json +121 -0
  25. package/lib/esm/meta-atlas-sdk/MetaAtlasCore/meta-atlas-sdk-core.js +2 -2
  26. package/lib/esm/meta-atlas-sdk/MetaAtlasCore/whatTaxonomies.json +170 -0
  27. package/lib/esm/meta-atlas-sdk/combined_style.json +2313 -0
  28. package/lib/esm/meta-atlas-sdk/mapbox_draw_custom_modes/draw_marker.js +158 -0
  29. package/lib/esm/meta-atlas-sdk/mapbox_draw_custom_modes/draw_marker.js.map +1 -0
  30. package/lib/esm/meta-atlas-sdk/mapbox_draw_custom_modes/marker_select.js +221 -0
  31. package/lib/esm/meta-atlas-sdk/mapbox_draw_custom_modes/marker_select.js.map +1 -0
  32. package/package.json +3 -3
@@ -0,0 +1,2313 @@
1
+ {
2
+ "id": "43f36e14-e3f5-43c1-84c0-50a9c80dc5c7",
3
+ "name": "MapLibre",
4
+ "center": [
5
+ 103.98454082091655,
6
+ 1.3384560379269175
7
+ ],
8
+ "zoom": 17.501145608385222,
9
+ "bearing": -68,
10
+ "layers": [
11
+ {
12
+ "id": "background",
13
+ "type": "background",
14
+ "paint": {
15
+ "background-color": "rgb(242,243,240)"
16
+ }
17
+ },
18
+ {
19
+ "id": "aeroway-area",
20
+ "type": "fill",
21
+ "metadata": {
22
+ "mapbox:group": "1444849345966.4436"
23
+ },
24
+ "source": "openmaptiles",
25
+ "source-layer": "aeroway",
26
+ "minzoom": 4,
27
+ "filter": [
28
+ "all",
29
+ [
30
+ "==",
31
+ "$type",
32
+ "Polygon"
33
+ ]
34
+ ],
35
+ "layout": {
36
+ "visibility": "visible"
37
+ },
38
+ "paint": {
39
+ "fill-color": "#e2e6ee"
40
+ }
41
+ },
42
+ {
43
+ "id": "park",
44
+ "type": "fill",
45
+ "source": "openmaptiles",
46
+ "source-layer": "park",
47
+ "filter": [
48
+ "==",
49
+ "$type",
50
+ "Polygon"
51
+ ],
52
+ "layout": {
53
+ "visibility": "visible"
54
+ },
55
+ "paint": {
56
+ "fill-color": "rgb(230, 233, 229)"
57
+ }
58
+ },
59
+ {
60
+ "id": "landcover_park",
61
+ "type": "fill",
62
+ "source": "openmaptiles",
63
+ "source-layer": "landcover",
64
+ "filter": [
65
+ "all",
66
+ [
67
+ "==",
68
+ "subclass",
69
+ "park"
70
+ ]
71
+ ],
72
+ "layout": {
73
+ "visibility": "visible"
74
+ },
75
+ "paint": {
76
+ "fill-color": "#c8facc",
77
+ "fill-antialias": true
78
+ }
79
+ },
80
+ {
81
+ "id": "landcover_grass",
82
+ "type": "fill",
83
+ "source": "openmaptiles",
84
+ "source-layer": "landcover",
85
+ "filter": [
86
+ "all",
87
+ [
88
+ "==",
89
+ "$type",
90
+ "Polygon"
91
+ ],
92
+ [
93
+ "==",
94
+ "class",
95
+ "grass"
96
+ ]
97
+ ],
98
+ "layout": {
99
+ "visibility": "visible"
100
+ },
101
+ "paint": {
102
+ "fill-color": "#c5e0ca",
103
+ "fill-opacity": 1
104
+ }
105
+ },
106
+ {
107
+ "id": "water",
108
+ "type": "fill",
109
+ "source": "openmaptiles",
110
+ "source-layer": "water",
111
+ "layout": {
112
+ "visibility": "visible"
113
+ },
114
+ "paint": {
115
+ "fill-color": "hsl(205,56%,73%)",
116
+ "fill-opacity": [
117
+ "match",
118
+ [
119
+ "get",
120
+ "intermittent"
121
+ ],
122
+ 1,
123
+ 0.7,
124
+ 1
125
+ ]
126
+ },
127
+ "filter": [
128
+ "!=",
129
+ "brunnel",
130
+ "tunnel"
131
+ ]
132
+ },
133
+ {
134
+ "id": "landcover_ice_shelf",
135
+ "type": "fill",
136
+ "source": "openmaptiles",
137
+ "source-layer": "landcover",
138
+ "maxzoom": 8,
139
+ "filter": [
140
+ "all",
141
+ [
142
+ "==",
143
+ "$type",
144
+ "Polygon"
145
+ ],
146
+ [
147
+ "==",
148
+ "subclass",
149
+ "ice_shelf"
150
+ ]
151
+ ],
152
+ "layout": {
153
+ "visibility": "visible"
154
+ },
155
+ "paint": {
156
+ "fill-color": "hsl(0, 0%, 98%)",
157
+ "fill-opacity": 0.7
158
+ }
159
+ },
160
+ {
161
+ "id": "landcover_glacier",
162
+ "type": "fill",
163
+ "source": "openmaptiles",
164
+ "source-layer": "landcover",
165
+ "maxzoom": 8,
166
+ "filter": [
167
+ "all",
168
+ [
169
+ "==",
170
+ "$type",
171
+ "Polygon"
172
+ ],
173
+ [
174
+ "==",
175
+ "subclass",
176
+ "glacier"
177
+ ]
178
+ ],
179
+ "layout": {
180
+ "visibility": "visible"
181
+ },
182
+ "paint": {
183
+ "fill-color": "hsl(0, 0%, 98%)",
184
+ "fill-opacity": {
185
+ "base": 1,
186
+ "stops": [
187
+ [
188
+ 0,
189
+ 1
190
+ ],
191
+ [
192
+ 8,
193
+ 0.5
194
+ ]
195
+ ]
196
+ }
197
+ }
198
+ },
199
+ {
200
+ "id": "landuse_residential",
201
+ "type": "fill",
202
+ "source": "openmaptiles",
203
+ "source-layer": "landuse",
204
+ "maxzoom": 16,
205
+ "filter": [
206
+ "all",
207
+ [
208
+ "==",
209
+ "$type",
210
+ "Polygon"
211
+ ],
212
+ [
213
+ "==",
214
+ "class",
215
+ "residential"
216
+ ]
217
+ ],
218
+ "layout": {
219
+ "visibility": "visible"
220
+ },
221
+ "paint": {
222
+ "fill-color": "rgb(234, 234, 230)",
223
+ "fill-opacity": {
224
+ "base": 0.6,
225
+ "stops": [
226
+ [
227
+ 8,
228
+ 0.8
229
+ ],
230
+ [
231
+ 9,
232
+ 0.6
233
+ ]
234
+ ]
235
+ }
236
+ }
237
+ },
238
+ {
239
+ "id": "landcover_wood",
240
+ "type": "fill",
241
+ "source": "openmaptiles",
242
+ "source-layer": "landcover",
243
+ "minzoom": 10,
244
+ "filter": [
245
+ "all",
246
+ [
247
+ "==",
248
+ "$type",
249
+ "Polygon"
250
+ ],
251
+ [
252
+ "==",
253
+ "class",
254
+ "wood"
255
+ ]
256
+ ],
257
+ "layout": {
258
+ "visibility": "visible"
259
+ },
260
+ "paint": {
261
+ "fill-color": "rgb(220,224,220)",
262
+ "fill-opacity": {
263
+ "base": 1,
264
+ "stops": [
265
+ [
266
+ 8,
267
+ 0
268
+ ],
269
+ [
270
+ 12,
271
+ 1
272
+ ]
273
+ ]
274
+ }
275
+ }
276
+ },
277
+ {
278
+ "id": "water_name",
279
+ "type": "symbol",
280
+ "source": "openmaptiles",
281
+ "source-layer": "water_name",
282
+ "filter": [
283
+ "==",
284
+ "$type",
285
+ "LineString"
286
+ ],
287
+ "layout": {
288
+ "symbol-placement": "line",
289
+ "symbol-spacing": 500,
290
+ "text-field": "{name:latin}\n{name:nonlatin}",
291
+ "text-font": [
292
+ "Lato Regular"
293
+ ],
294
+ "text-rotation-alignment": "map",
295
+ "text-size": 12
296
+ },
297
+ "paint": {
298
+ "text-color": "rgb(157,169,177)",
299
+ "text-halo-blur": 1,
300
+ "text-halo-color": "rgb(242,243,240)",
301
+ "text-halo-width": 1
302
+ }
303
+ },
304
+ {
305
+ "id": "tunnel_motorway_casing",
306
+ "type": "line",
307
+ "metadata": {
308
+ "mapbox:group": "b6371a3f2f5a9932464fa3867530a2e5"
309
+ },
310
+ "source": "openmaptiles",
311
+ "source-layer": "transportation",
312
+ "minzoom": 6,
313
+ "filter": [
314
+ "all",
315
+ [
316
+ "==",
317
+ [
318
+ "geometry-type"
319
+ ],
320
+ "LineString"
321
+ ],
322
+ [
323
+ "==",
324
+ [
325
+ "get",
326
+ "brunnel"
327
+ ],
328
+ "tunnel"
329
+ ],
330
+ [
331
+ "!=",
332
+ [
333
+ "get",
334
+ "subclass"
335
+ ],
336
+ "subway"
337
+ ]
338
+ ],
339
+ "layout": {
340
+ "line-cap": "butt",
341
+ "line-join": "miter",
342
+ "visibility": "visible"
343
+ },
344
+ "paint": {
345
+ "line-color": "#a8a8a8",
346
+ "line-opacity": 1,
347
+ "line-width": {
348
+ "base": 1.4,
349
+ "stops": [
350
+ [
351
+ 5.8,
352
+ 0
353
+ ],
354
+ [
355
+ 6,
356
+ 1
357
+ ],
358
+ [
359
+ 20,
360
+ 30
361
+ ]
362
+ ]
363
+ }
364
+ }
365
+ },
366
+ {
367
+ "id": "tunnel_motorway_inner",
368
+ "type": "line",
369
+ "metadata": {
370
+ "mapbox:group": "b6371a3f2f5a9932464fa3867530a2e5"
371
+ },
372
+ "source": "openmaptiles",
373
+ "source-layer": "transportation",
374
+ "minzoom": 6,
375
+ "filter": [
376
+ "all",
377
+ [
378
+ "==",
379
+ [
380
+ "geometry-type"
381
+ ],
382
+ "LineString"
383
+ ],
384
+ [
385
+ "==",
386
+ [
387
+ "get",
388
+ "brunnel"
389
+ ],
390
+ "tunnel"
391
+ ],
392
+ [
393
+ "!=",
394
+ [
395
+ "get",
396
+ "subclass"
397
+ ],
398
+ "subway"
399
+ ]
400
+ ],
401
+ "layout": {
402
+ "line-cap": "round",
403
+ "line-join": "round",
404
+ "visibility": "visible"
405
+ },
406
+ "paint": {
407
+ "line-color": "#f5ebe4",
408
+ "line-opacity": 1,
409
+ "line-width": {
410
+ "base": 1.4,
411
+ "stops": [
412
+ [
413
+ 4,
414
+ 2
415
+ ],
416
+ [
417
+ 6,
418
+ 1.3
419
+ ],
420
+ [
421
+ 20,
422
+ 25
423
+ ]
424
+ ]
425
+ }
426
+ }
427
+ },
428
+ {
429
+ "id": "road_area_pier",
430
+ "type": "fill",
431
+ "metadata": {},
432
+ "source": "openmaptiles",
433
+ "source-layer": "transportation",
434
+ "filter": [
435
+ "all",
436
+ [
437
+ "==",
438
+ "$type",
439
+ "Polygon"
440
+ ],
441
+ [
442
+ "==",
443
+ "class",
444
+ "pier"
445
+ ]
446
+ ],
447
+ "layout": {
448
+ "visibility": "visible"
449
+ },
450
+ "paint": {
451
+ "fill-antialias": true,
452
+ "fill-color": "rgb(242,243,240)"
453
+ }
454
+ },
455
+ {
456
+ "id": "road_pier",
457
+ "type": "line",
458
+ "metadata": {},
459
+ "source": "openmaptiles",
460
+ "source-layer": "transportation",
461
+ "filter": [
462
+ "all",
463
+ [
464
+ "==",
465
+ "$type",
466
+ "LineString"
467
+ ],
468
+ [
469
+ "in",
470
+ "class",
471
+ "pier"
472
+ ]
473
+ ],
474
+ "layout": {
475
+ "line-cap": "round",
476
+ "line-join": "round"
477
+ },
478
+ "paint": {
479
+ "line-color": "#F5f5f5",
480
+ "line-width": {
481
+ "base": 1.2,
482
+ "stops": [
483
+ [
484
+ 15,
485
+ 1
486
+ ],
487
+ [
488
+ 17,
489
+ 4
490
+ ]
491
+ ]
492
+ }
493
+ }
494
+ },
495
+ {
496
+ "id": "road_path",
497
+ "type": "line",
498
+ "source": "openmaptiles",
499
+ "source-layer": "transportation",
500
+ "filter": [
501
+ "all",
502
+ ["==", "$type", "LineString"],
503
+ ["in", "class", "path", "track"]
504
+ ],
505
+ "layout": {"line-cap": "square", "line-join": "bevel"},
506
+ "paint": {
507
+ "line-color": "hsl(0, 0%, 97%)",
508
+ "line-dasharray": [1, 1],
509
+ "line-width": {"base": 1.55, "stops": [[4, 0.25], [20, 10]]}
510
+ }
511
+ },
512
+ {
513
+ "id": "highway_minor",
514
+ "type": "line",
515
+ "metadata": {
516
+ "mapbox:group": "b6371a3f2f5a9932464fa3867530a2e5"
517
+ },
518
+ "source": "openmaptiles",
519
+ "source-layer": "transportation",
520
+ "minzoom": 8,
521
+ "filter": [
522
+ "all",
523
+ [
524
+ "==",
525
+ "$type",
526
+ "LineString"
527
+ ],
528
+ [
529
+ "in",
530
+ "class",
531
+ "minor",
532
+ "service",
533
+ "track"
534
+ ],
535
+ [
536
+ "!in",
537
+ "brunnel",
538
+ "bridge",
539
+ "tunnel"
540
+ ]
541
+ ],
542
+ "layout": {
543
+ "line-cap": "round",
544
+ "line-join": "round",
545
+ "visibility": "visible"
546
+ },
547
+ "paint": {
548
+ "line-color": "#fdfdfd",
549
+ "line-opacity": 0.9,
550
+ "line-width": {
551
+ "base": 1.55,
552
+ "stops": [
553
+ [
554
+ 13,
555
+ 1.8
556
+ ],
557
+ [
558
+ 20,
559
+ 20
560
+ ]
561
+ ]
562
+ }
563
+ }
564
+ },
565
+ {
566
+ "id": "highway_major_casing",
567
+ "type": "line",
568
+ "metadata": {
569
+ "mapbox:group": "b6371a3f2f5a9932464fa3867530a2e5"
570
+ },
571
+ "source": "openmaptiles",
572
+ "source-layer": "transportation",
573
+ "minzoom": 11,
574
+ "filter": [
575
+ "all",
576
+ [
577
+ "==",
578
+ "$type",
579
+ "LineString"
580
+ ],
581
+ [
582
+ "in",
583
+ "class",
584
+ "primary",
585
+ "secondary",
586
+ "tertiary",
587
+ "trunk"
588
+ ],
589
+ [
590
+ "!in",
591
+ "brunnel",
592
+ "bridge",
593
+ "tunnel"
594
+ ]
595
+ ],
596
+ "layout": {
597
+ "line-cap": "butt",
598
+ "line-join": "miter",
599
+ "visibility": "visible"
600
+ },
601
+ "paint": {
602
+ "line-color": "rgb(213, 213, 213)",
603
+ "line-dasharray": [
604
+ 12,
605
+ 0
606
+ ],
607
+ "line-width": {
608
+ "base": 1.3,
609
+ "stops": [
610
+ [
611
+ 10,
612
+ 3
613
+ ],
614
+ [
615
+ 20,
616
+ 23
617
+ ]
618
+ ]
619
+ }
620
+ }
621
+ },
622
+ {
623
+ "id": "highway_major_inner",
624
+ "type": "line",
625
+ "metadata": {
626
+ "mapbox:group": "b6371a3f2f5a9932464fa3867530a2e5"
627
+ },
628
+ "source": "openmaptiles",
629
+ "source-layer": "transportation",
630
+ "minzoom": 11,
631
+ "filter": [
632
+ "all",
633
+ [
634
+ "==",
635
+ "$type",
636
+ "LineString"
637
+ ],
638
+ [
639
+ "in",
640
+ "class",
641
+ "primary",
642
+ "secondary",
643
+ "tertiary",
644
+ "trunk"
645
+ ],
646
+ [
647
+ "!in",
648
+ "brunnel",
649
+ "bridge",
650
+ "tunnel"
651
+ ]
652
+ ],
653
+ "layout": {
654
+ "line-cap": "round",
655
+ "line-join": "round",
656
+ "visibility": "visible"
657
+ },
658
+ "paint": {
659
+ "line-color": "#fff",
660
+ "line-width": {
661
+ "base": 1.3,
662
+ "stops": [
663
+ [
664
+ 10,
665
+ 2
666
+ ],
667
+ [
668
+ 20,
669
+ 20
670
+ ]
671
+ ]
672
+ }
673
+ }
674
+ },
675
+ {
676
+ "id": "highway_major_subtle",
677
+ "type": "line",
678
+ "metadata": {
679
+ "mapbox:group": "b6371a3f2f5a9932464fa3867530a2e5"
680
+ },
681
+ "source": "openmaptiles",
682
+ "source-layer": "transportation",
683
+ "maxzoom": 11,
684
+ "filter": [
685
+ "all",
686
+ [
687
+ "==",
688
+ "$type",
689
+ "LineString"
690
+ ],
691
+ [
692
+ "in",
693
+ "class",
694
+ "primary",
695
+ "secondary",
696
+ "tertiary",
697
+ "trunk"
698
+ ],
699
+ [
700
+ "!in",
701
+ "brunnel",
702
+ "bridge",
703
+ "tunnel"
704
+ ]
705
+ ],
706
+ "layout": {
707
+ "line-cap": "round",
708
+ "line-join": "round",
709
+ "visibility": "visible"
710
+ },
711
+ "paint": {
712
+ "line-color": "hsla(0, 0%, 85%, 0.69)",
713
+ "line-width": 2
714
+ }
715
+ },
716
+ {
717
+ "id": "highway_motorway_casing",
718
+ "type": "line",
719
+ "metadata": {
720
+ "mapbox:group": "b6371a3f2f5a9932464fa3867530a2e5"
721
+ },
722
+ "source": "openmaptiles",
723
+ "source-layer": "transportation",
724
+ "minzoom": 6,
725
+ "filter": [
726
+ "all",
727
+ [
728
+ "==",
729
+ "$type",
730
+ "LineString"
731
+ ],
732
+ [
733
+ "all",
734
+ [
735
+ "!in",
736
+ "brunnel",
737
+ "bridge",
738
+ "tunnel"
739
+ ],
740
+ [
741
+ "==",
742
+ "class",
743
+ "motorway"
744
+ ]
745
+ ]
746
+ ],
747
+ "layout": {
748
+ "line-cap": "butt",
749
+ "line-join": "miter",
750
+ "visibility": "visible"
751
+ },
752
+ "paint": {
753
+ "line-color": "rgb(213, 213, 213)",
754
+ "line-dasharray": [
755
+ 2,
756
+ 0
757
+ ],
758
+ "line-opacity": 1,
759
+ "line-width": {
760
+ "base": 1.4,
761
+ "stops": [
762
+ [
763
+ 5.8,
764
+ 0
765
+ ],
766
+ [
767
+ 6,
768
+ 3
769
+ ],
770
+ [
771
+ 20,
772
+ 40
773
+ ]
774
+ ]
775
+ }
776
+ }
777
+ },
778
+ {
779
+ "id": "highway_motorway_inner",
780
+ "type": "line",
781
+ "metadata": {
782
+ "mapbox:group": "b6371a3f2f5a9932464fa3867530a2e5"
783
+ },
784
+ "source": "openmaptiles",
785
+ "source-layer": "transportation",
786
+ "minzoom": 6,
787
+ "filter": [
788
+ "all",
789
+ [
790
+ "==",
791
+ "$type",
792
+ "LineString"
793
+ ],
794
+ [
795
+ "all",
796
+ [
797
+ "!in",
798
+ "brunnel",
799
+ "bridge",
800
+ "tunnel"
801
+ ],
802
+ [
803
+ "==",
804
+ "class",
805
+ "motorway"
806
+ ]
807
+ ]
808
+ ],
809
+ "layout": {
810
+ "line-cap": "round",
811
+ "line-join": "round",
812
+ "visibility": "visible"
813
+ },
814
+ "paint": {
815
+ "line-color": {
816
+ "base": 1,
817
+ "stops": [
818
+ [
819
+ 5.8,
820
+ "hsla(0, 0%, 85%, 0.53)"
821
+ ],
822
+ [
823
+ 6,
824
+ "#fff"
825
+ ]
826
+ ]
827
+ },
828
+ "line-width": {
829
+ "base": 1.4,
830
+ "stops": [
831
+ [
832
+ 4,
833
+ 2
834
+ ],
835
+ [
836
+ 6,
837
+ 1.3
838
+ ],
839
+ [
840
+ 20,
841
+ 30
842
+ ]
843
+ ]
844
+ }
845
+ }
846
+ },
847
+ {
848
+ "id": "highway_motorway_subtle",
849
+ "type": "line",
850
+ "metadata": {
851
+ "mapbox:group": "b6371a3f2f5a9932464fa3867530a2e5"
852
+ },
853
+ "source": "openmaptiles",
854
+ "source-layer": "transportation",
855
+ "maxzoom": 6,
856
+ "filter": [
857
+ "all",
858
+ [
859
+ "==",
860
+ "$type",
861
+ "LineString"
862
+ ],
863
+ [
864
+ "==",
865
+ "class",
866
+ "motorway"
867
+ ]
868
+ ],
869
+ "layout": {
870
+ "line-cap": "round",
871
+ "line-join": "round",
872
+ "visibility": "visible"
873
+ },
874
+ "paint": {
875
+ "line-color": "hsla(0, 0%, 85%, 0.53)",
876
+ "line-width": {
877
+ "base": 1.4,
878
+ "stops": [
879
+ [
880
+ 4,
881
+ 2
882
+ ],
883
+ [
884
+ 6,
885
+ 1.3
886
+ ]
887
+ ]
888
+ }
889
+ }
890
+ },
891
+ {
892
+ "id": "railway_transit",
893
+ "type": "line",
894
+ "metadata": {
895
+ "mapbox:group": "b6371a3f2f5a9932464fa3867530a2e5"
896
+ },
897
+ "source": "openmaptiles",
898
+ "source-layer": "transportation",
899
+ "minzoom": 16,
900
+ "filter": [
901
+ "all",
902
+ [
903
+ "==",
904
+ "$type",
905
+ "LineString"
906
+ ],
907
+ [
908
+ "all",
909
+ [
910
+ "==",
911
+ "class",
912
+ "transit"
913
+ ],
914
+ [
915
+ "!in",
916
+ "brunnel",
917
+ "tunnel"
918
+ ]
919
+ ]
920
+ ],
921
+ "layout": {
922
+ "line-join": "round",
923
+ "visibility": "visible"
924
+ },
925
+ "paint": {
926
+ "line-color": "#dddddd",
927
+ "line-width": 3
928
+ }
929
+ },
930
+ {
931
+ "id": "railway_transit_dashline",
932
+ "type": "line",
933
+ "metadata": {
934
+ "mapbox:group": "b6371a3f2f5a9932464fa3867530a2e5"
935
+ },
936
+ "source": "openmaptiles",
937
+ "source-layer": "transportation",
938
+ "minzoom": 16,
939
+ "filter": [
940
+ "all",
941
+ [
942
+ "==",
943
+ "$type",
944
+ "LineString"
945
+ ],
946
+ [
947
+ "all",
948
+ [
949
+ "==",
950
+ "class",
951
+ "transit"
952
+ ],
953
+ [
954
+ "!in",
955
+ "brunnel",
956
+ "tunnel"
957
+ ]
958
+ ]
959
+ ],
960
+ "layout": {
961
+ "line-join": "round",
962
+ "visibility": "visible"
963
+ },
964
+ "paint": {
965
+ "line-color": "#fafafa",
966
+ "line-dasharray": [
967
+ 3,
968
+ 3
969
+ ],
970
+ "line-width": 2
971
+ }
972
+ },
973
+ {
974
+ "id": "railway_service",
975
+ "type": "line",
976
+ "metadata": {
977
+ "mapbox:group": "b6371a3f2f5a9932464fa3867530a2e5"
978
+ },
979
+ "source": "openmaptiles",
980
+ "source-layer": "transportation",
981
+ "minzoom": 16,
982
+ "filter": [
983
+ "all",
984
+ [
985
+ "==",
986
+ "$type",
987
+ "LineString"
988
+ ],
989
+ [
990
+ "all",
991
+ [
992
+ "==",
993
+ "class",
994
+ "rail"
995
+ ],
996
+ [
997
+ "has",
998
+ "service"
999
+ ]
1000
+ ]
1001
+ ],
1002
+ "layout": {
1003
+ "line-join": "round",
1004
+ "visibility": "visible"
1005
+ },
1006
+ "paint": {
1007
+ "line-color": "#dddddd",
1008
+ "line-width": 3
1009
+ }
1010
+ },
1011
+ {
1012
+ "id": "railway_service_dashline",
1013
+ "type": "line",
1014
+ "metadata": {
1015
+ "mapbox:group": "b6371a3f2f5a9932464fa3867530a2e5"
1016
+ },
1017
+ "source": "openmaptiles",
1018
+ "source-layer": "transportation",
1019
+ "minzoom": 16,
1020
+ "filter": [
1021
+ "all",
1022
+ [
1023
+ "==",
1024
+ "$type",
1025
+ "LineString"
1026
+ ],
1027
+ [
1028
+ "==",
1029
+ "class",
1030
+ "rail"
1031
+ ],
1032
+ [
1033
+ "has",
1034
+ "service"
1035
+ ]
1036
+ ],
1037
+ "layout": {
1038
+ "line-join": "round",
1039
+ "visibility": "visible"
1040
+ },
1041
+ "paint": {
1042
+ "line-color": "#fafafa",
1043
+ "line-dasharray": [
1044
+ 3,
1045
+ 3
1046
+ ],
1047
+ "line-width": 2
1048
+ }
1049
+ },
1050
+ {
1051
+ "id": "railway",
1052
+ "type": "line",
1053
+ "metadata": {
1054
+ "mapbox:group": "b6371a3f2f5a9932464fa3867530a2e5"
1055
+ },
1056
+ "source": "openmaptiles",
1057
+ "source-layer": "transportation",
1058
+ "minzoom": 13,
1059
+ "filter": [
1060
+ "all",
1061
+ [
1062
+ "==",
1063
+ "$type",
1064
+ "LineString"
1065
+ ],
1066
+ [
1067
+ "all",
1068
+ [
1069
+ "!has",
1070
+ "service"
1071
+ ],
1072
+ [
1073
+ "==",
1074
+ "class",
1075
+ "rail"
1076
+ ]
1077
+ ]
1078
+ ],
1079
+ "layout": {
1080
+ "line-join": "round",
1081
+ "visibility": "visible"
1082
+ },
1083
+ "paint": {
1084
+ "line-color": "#dddddd",
1085
+ "line-width": {
1086
+ "base": 1.3,
1087
+ "stops": [
1088
+ [
1089
+ 16,
1090
+ 3
1091
+ ],
1092
+ [
1093
+ 20,
1094
+ 7
1095
+ ]
1096
+ ]
1097
+ }
1098
+ }
1099
+ },
1100
+ {
1101
+ "id": "railway_dashline",
1102
+ "type": "line",
1103
+ "metadata": {
1104
+ "mapbox:group": "b6371a3f2f5a9932464fa3867530a2e5"
1105
+ },
1106
+ "source": "openmaptiles",
1107
+ "source-layer": "transportation",
1108
+ "minzoom": 13,
1109
+ "filter": [
1110
+ "all",
1111
+ [
1112
+ "==",
1113
+ "$type",
1114
+ "LineString"
1115
+ ],
1116
+ [
1117
+ "all",
1118
+ [
1119
+ "!has",
1120
+ "service"
1121
+ ],
1122
+ [
1123
+ "==",
1124
+ "class",
1125
+ "rail"
1126
+ ]
1127
+ ]
1128
+ ],
1129
+ "layout": {
1130
+ "line-join": "round",
1131
+ "visibility": "visible"
1132
+ },
1133
+ "paint": {
1134
+ "line-color": "#fafafa",
1135
+ "line-dasharray": [
1136
+ 3,
1137
+ 3
1138
+ ],
1139
+ "line-width": {
1140
+ "base": 1.3,
1141
+ "stops": [
1142
+ [
1143
+ 16,
1144
+ 2
1145
+ ],
1146
+ [
1147
+ 20,
1148
+ 6
1149
+ ]
1150
+ ]
1151
+ }
1152
+ }
1153
+ },
1154
+ {
1155
+ "id": "secondary_bridge_casing",
1156
+ "type": "line",
1157
+ "metadata": {
1158
+ "mapbox:group": "b6371a3f2f5a9932464fa3867530a2e5"
1159
+ },
1160
+ "source": "openmaptiles",
1161
+ "source-layer": "transportation",
1162
+ "minzoom": 6,
1163
+ "filter": [
1164
+ "all",
1165
+ [
1166
+ "==",
1167
+ [
1168
+ "geometry-type"
1169
+ ],
1170
+ "LineString"
1171
+ ],
1172
+ [
1173
+ "==",
1174
+ [
1175
+ "get",
1176
+ "brunnel"
1177
+ ],
1178
+ "bridge"
1179
+ ],
1180
+ [
1181
+ "in",
1182
+ [
1183
+ "get",
1184
+ "class"
1185
+ ],
1186
+ [
1187
+ "literal",
1188
+ [
1189
+ "secondary", "tertiary"
1190
+ ]
1191
+ ]
1192
+ ]
1193
+ ],
1194
+ "layout": {
1195
+ "line-cap": "butt",
1196
+ "line-join": "miter",
1197
+ "visibility": "visible"
1198
+ },
1199
+ "paint": {
1200
+ "line-color": "rgb(213, 213, 213)",
1201
+ "line-dasharray": [
1202
+ 2,
1203
+ 0
1204
+ ],
1205
+ "line-opacity": 1,
1206
+ "line-width": {
1207
+ "base": 1.4,
1208
+ "stops": [
1209
+ [
1210
+ 5.8,
1211
+ 0
1212
+ ],
1213
+ [
1214
+ 6,
1215
+ 4
1216
+ ],
1217
+ [
1218
+ 20,
1219
+ 30
1220
+ ]
1221
+ ]
1222
+ }
1223
+ }
1224
+ },
1225
+ {
1226
+ "id": "secondary_bridge_inner",
1227
+ "type": "line",
1228
+ "metadata": {
1229
+ "mapbox:group": "b6371a3f2f5a9932464fa3867530a2e5"
1230
+ },
1231
+ "source": "openmaptiles",
1232
+ "source-layer": "transportation",
1233
+ "minzoom": 6,
1234
+ "filter": [
1235
+ "all",
1236
+ [
1237
+ "==",
1238
+ [
1239
+ "geometry-type"
1240
+ ],
1241
+ "LineString"
1242
+ ],
1243
+ [
1244
+ "==",
1245
+ [
1246
+ "get",
1247
+ "brunnel"
1248
+ ],
1249
+ "bridge"
1250
+ ],
1251
+ [
1252
+ "in",
1253
+ [
1254
+ "get",
1255
+ "class"
1256
+ ],
1257
+ [
1258
+ "literal",
1259
+ [
1260
+ "secondary", "tertiary"
1261
+ ]
1262
+ ]
1263
+ ]
1264
+ ],
1265
+ "layout": {
1266
+ "line-cap": "round",
1267
+ "line-join": "round",
1268
+ "visibility": "visible"
1269
+ },
1270
+ "paint": {
1271
+ "line-color": {
1272
+ "base": 1,
1273
+ "stops": [
1274
+ [
1275
+ 5.8,
1276
+ "hsla(0, 0%, 85%, 0.53)"
1277
+ ],
1278
+ [
1279
+ 6,
1280
+ "#fff"
1281
+ ]
1282
+ ]
1283
+ },
1284
+ "line-width": {
1285
+ "base": 1.4,
1286
+ "stops": [
1287
+ [
1288
+ 4,
1289
+ 2
1290
+ ],
1291
+ [
1292
+ 6,
1293
+ 1
1294
+ ],
1295
+ [
1296
+ 20,
1297
+ 20
1298
+ ]
1299
+ ]
1300
+ }
1301
+ }
1302
+ },
1303
+ {
1304
+ "id": "highway_motorway_bridge_casing",
1305
+ "type": "line",
1306
+ "metadata": {
1307
+ "mapbox:group": "b6371a3f2f5a9932464fa3867530a2e5"
1308
+ },
1309
+ "source": "openmaptiles",
1310
+ "source-layer": "transportation",
1311
+ "minzoom": 6,
1312
+ "filter": [
1313
+ "all",
1314
+ [
1315
+ "==",
1316
+ "$type",
1317
+ "LineString"
1318
+ ],
1319
+ [
1320
+ "all",
1321
+ [
1322
+ "==",
1323
+ "brunnel",
1324
+ "bridge"
1325
+ ],
1326
+ [
1327
+ "==",
1328
+ "class",
1329
+ "motorway"
1330
+ ]
1331
+ ]
1332
+ ],
1333
+ "layout": {
1334
+ "line-cap": "butt",
1335
+ "line-join": "miter",
1336
+ "visibility": "visible"
1337
+ },
1338
+ "paint": {
1339
+ "line-color": "rgb(213, 213, 213)",
1340
+ "line-dasharray": [
1341
+ 2,
1342
+ 0
1343
+ ],
1344
+ "line-opacity": 1,
1345
+ "line-width": {
1346
+ "base": 1.4,
1347
+ "stops": [
1348
+ [
1349
+ 5.8,
1350
+ 0
1351
+ ],
1352
+ [
1353
+ 6,
1354
+ 5
1355
+ ],
1356
+ [
1357
+ 20,
1358
+ 45
1359
+ ]
1360
+ ]
1361
+ }
1362
+ }
1363
+ },
1364
+ {
1365
+ "id": "highway_motorway_bridge_inner",
1366
+ "type": "line",
1367
+ "metadata": {
1368
+ "mapbox:group": "b6371a3f2f5a9932464fa3867530a2e5"
1369
+ },
1370
+ "source": "openmaptiles",
1371
+ "source-layer": "transportation",
1372
+ "minzoom": 6,
1373
+ "filter": [
1374
+ "all",
1375
+ [
1376
+ "==",
1377
+ "$type",
1378
+ "LineString"
1379
+ ],
1380
+ [
1381
+ "all",
1382
+ [
1383
+ "==",
1384
+ "brunnel",
1385
+ "bridge"
1386
+ ],
1387
+ [
1388
+ "==",
1389
+ "class",
1390
+ "motorway"
1391
+ ]
1392
+ ]
1393
+ ],
1394
+ "layout": {
1395
+ "line-cap": "round",
1396
+ "line-join": "round",
1397
+ "visibility": "visible"
1398
+ },
1399
+ "paint": {
1400
+ "line-color": {
1401
+ "base": 1,
1402
+ "stops": [
1403
+ [
1404
+ 5.8,
1405
+ "hsla(0, 0%, 85%, 0.53)"
1406
+ ],
1407
+ [
1408
+ 6,
1409
+ "#fff"
1410
+ ]
1411
+ ]
1412
+ },
1413
+ "line-width": {
1414
+ "base": 1.4,
1415
+ "stops": [
1416
+ [
1417
+ 4,
1418
+ 2
1419
+ ],
1420
+ [
1421
+ 6,
1422
+ 1.3
1423
+ ],
1424
+ [
1425
+ 20,
1426
+ 30
1427
+ ]
1428
+ ]
1429
+ }
1430
+ }
1431
+ },
1432
+ {
1433
+ "id": "roadways directions",
1434
+ "type": "symbol",
1435
+ "source": "openmaptiles",
1436
+ "source-layer": "transportation",
1437
+ "minzoom": 15,
1438
+ "filter": [
1439
+ "all",
1440
+ [
1441
+ "has",
1442
+ "oneway"
1443
+ ],
1444
+ [
1445
+ "in",
1446
+ "class",
1447
+ "motorway",
1448
+ "trunk",
1449
+ "primary",
1450
+ "secondary",
1451
+ "tertiary",
1452
+ "minor",
1453
+ "service"
1454
+ ]
1455
+ ],
1456
+ "layout": {
1457
+ "symbol-placement": "line",
1458
+ "symbol-spacing": 80,
1459
+ "text-field": "→",
1460
+ "text-font": ["Lato Regular"],
1461
+ "text-keep-upright": false,
1462
+ "text-max-angle": 30,
1463
+ "text-pitch-alignment": "viewport",
1464
+ "text-rotation-alignment": "map",
1465
+ "text-size": 12,
1466
+ "text-transform": "none"
1467
+ },
1468
+ "paint": {
1469
+ "text-color": "#D3D3D3"
1470
+ }
1471
+ },
1472
+ {
1473
+ "id": "roadways name",
1474
+ "type": "symbol",
1475
+ "metadata": {
1476
+ "mapbox:group": "b6371a3f2f5a9932464fa3867530a2e5"
1477
+ },
1478
+ "source": "openmaptiles",
1479
+ "source-layer": "transportation_name",
1480
+ "filter": [
1481
+ "all",
1482
+ [
1483
+ "!in",
1484
+ "subclass",
1485
+ "gondola",
1486
+ "cable_car"
1487
+ ],
1488
+ [
1489
+ "!in",
1490
+ "class",
1491
+ "ferry"
1492
+ ],
1493
+ [
1494
+ "==",
1495
+ "$type",
1496
+ "LineString"
1497
+ ]
1498
+ ],
1499
+ "layout": {
1500
+ "symbol-placement": "line",
1501
+ "symbol-spacing": 200,
1502
+ "text-field": "{name:latin} {name:nonlatin}",
1503
+ "text-font": [
1504
+ "Lato Regular"
1505
+ ],
1506
+ "text-max-angle": 30,
1507
+ "text-pitch-alignment": "viewport",
1508
+ "text-rotation-alignment": "map",
1509
+ "text-size": 10,
1510
+ "text-transform": "uppercase",
1511
+ "visibility": "visible"
1512
+ },
1513
+ "paint": {
1514
+ "text-color": "#bbb",
1515
+ "text-halo-blur": 1,
1516
+ "text-halo-color": "#fff",
1517
+ "text-halo-width": 2,
1518
+ "text-translate": [
1519
+ 0,
1520
+ 0
1521
+ ]
1522
+ }
1523
+ },
1524
+
1525
+
1526
+ {
1527
+ "id": "boundary_state",
1528
+ "type": "line",
1529
+ "metadata": {
1530
+ "mapbox:group": "a14c9607bc7954ba1df7205bf660433f"
1531
+ },
1532
+ "source": "openmaptiles",
1533
+ "source-layer": "boundary",
1534
+ "filter": [
1535
+ "==",
1536
+ "admin_level",
1537
+ 4
1538
+ ],
1539
+ "layout": {
1540
+ "line-cap": "round",
1541
+ "line-join": "round",
1542
+ "visibility": "visible"
1543
+ },
1544
+ "paint": {
1545
+ "line-blur": 0.4,
1546
+ "line-color": "rgb(230, 204, 207)",
1547
+ "line-dasharray": [
1548
+ 2,
1549
+ 2
1550
+ ],
1551
+ "line-opacity": 1,
1552
+ "line-width": {
1553
+ "base": 1.3,
1554
+ "stops": [
1555
+ [
1556
+ 3,
1557
+ 1
1558
+ ],
1559
+ [
1560
+ 22,
1561
+ 15
1562
+ ]
1563
+ ]
1564
+ }
1565
+ }
1566
+ },
1567
+ {
1568
+ "id": "boundary_country_z0-4",
1569
+ "type": "line",
1570
+ "metadata": {
1571
+ "mapbox:group": "a14c9607bc7954ba1df7205bf660433f"
1572
+ },
1573
+ "source": "openmaptiles",
1574
+ "source-layer": "boundary",
1575
+ "maxzoom": 5,
1576
+ "filter": [
1577
+ "all",
1578
+ [
1579
+ "==",
1580
+ "admin_level",
1581
+ 2
1582
+ ],
1583
+ [
1584
+ "!has",
1585
+ "claimed_by"
1586
+ ]
1587
+ ],
1588
+ "layout": {
1589
+ "line-cap": "round",
1590
+ "line-join": "round"
1591
+ },
1592
+ "paint": {
1593
+ "line-blur": {
1594
+ "base": 1,
1595
+ "stops": [
1596
+ [
1597
+ 0,
1598
+ 0.4
1599
+ ],
1600
+ [
1601
+ 22,
1602
+ 4
1603
+ ]
1604
+ ]
1605
+ },
1606
+ "line-color": "rgb(230, 204, 207)",
1607
+ "line-opacity": 1,
1608
+ "line-width": {
1609
+ "base": 1.1,
1610
+ "stops": [
1611
+ [
1612
+ 3,
1613
+ 1
1614
+ ],
1615
+ [
1616
+ 22,
1617
+ 20
1618
+ ]
1619
+ ]
1620
+ }
1621
+ }
1622
+ },
1623
+ {
1624
+ "id": "boundary_country_z5-",
1625
+ "type": "line",
1626
+ "metadata": {
1627
+ "mapbox:group": "a14c9607bc7954ba1df7205bf660433f"
1628
+ },
1629
+ "source": "openmaptiles",
1630
+ "source-layer": "boundary",
1631
+ "minzoom": 5,
1632
+ "filter": [
1633
+ "==",
1634
+ "admin_level",
1635
+ 2
1636
+ ],
1637
+ "layout": {
1638
+ "line-cap": "round",
1639
+ "line-join": "round"
1640
+ },
1641
+ "paint": {
1642
+ "line-blur": {
1643
+ "base": 1,
1644
+ "stops": [
1645
+ [
1646
+ 0,
1647
+ 0.4
1648
+ ],
1649
+ [
1650
+ 22,
1651
+ 4
1652
+ ]
1653
+ ]
1654
+ },
1655
+ "line-color": "rgb(230, 204, 207)",
1656
+ "line-opacity": 1,
1657
+ "line-width": {
1658
+ "base": 1.1,
1659
+ "stops": [
1660
+ [
1661
+ 3,
1662
+ 1
1663
+ ],
1664
+ [
1665
+ 22,
1666
+ 20
1667
+ ]
1668
+ ]
1669
+ }
1670
+ }
1671
+ },
1672
+ {
1673
+ "id": "place_other",
1674
+ "type": "symbol",
1675
+ "metadata": {
1676
+ "mapbox:group": "101da9f13b64a08fa4b6ac1168e89e5f"
1677
+ },
1678
+ "source": "openmaptiles",
1679
+ "source-layer": "place",
1680
+ "maxzoom": 14,
1681
+ "filter": [
1682
+ "all",
1683
+ [
1684
+ "in",
1685
+ "class",
1686
+ "continent",
1687
+ "hamlet",
1688
+ "neighbourhood",
1689
+ "isolated_dwelling"
1690
+ ],
1691
+ [
1692
+ "==",
1693
+ "$type",
1694
+ "Point"
1695
+ ]
1696
+ ],
1697
+ "layout": {
1698
+ "text-anchor": "center",
1699
+ "text-field": "{name:latin}\n{name:nonlatin}",
1700
+ "text-font": [
1701
+ "Lato Regular"
1702
+ ],
1703
+ "text-justify": "center",
1704
+ "text-offset": [
1705
+ 0.5,
1706
+ 0
1707
+ ],
1708
+ "text-size": 10,
1709
+ "text-transform": "uppercase",
1710
+ "visibility": "visible"
1711
+ },
1712
+ "paint": {
1713
+ "text-color": "rgb(117, 129, 145)",
1714
+ "text-halo-blur": 1,
1715
+ "text-halo-color": "rgb(242,243,240)",
1716
+ "text-halo-width": 1
1717
+ }
1718
+ },
1719
+ {
1720
+ "id": "place_suburb",
1721
+ "type": "symbol",
1722
+ "metadata": {
1723
+ "mapbox:group": "101da9f13b64a08fa4b6ac1168e89e5f"
1724
+ },
1725
+ "source": "openmaptiles",
1726
+ "source-layer": "place",
1727
+ "maxzoom": 15,
1728
+ "filter": [
1729
+ "all",
1730
+ [
1731
+ "==",
1732
+ "$type",
1733
+ "Point"
1734
+ ],
1735
+ [
1736
+ "==",
1737
+ "class",
1738
+ "suburb"
1739
+ ]
1740
+ ],
1741
+ "layout": {
1742
+ "text-anchor": "center",
1743
+ "text-field": "{name:latin}\n{name:nonlatin}",
1744
+ "text-font": [
1745
+ "Lato Regular"
1746
+ ],
1747
+ "text-justify": "center",
1748
+ "text-offset": [
1749
+ 0.5,
1750
+ 0
1751
+ ],
1752
+ "text-size": 10,
1753
+ "text-transform": "uppercase",
1754
+ "visibility": "visible"
1755
+ },
1756
+ "paint": {
1757
+ "text-color": "rgb(117, 129, 145)",
1758
+ "text-halo-blur": 1,
1759
+ "text-halo-color": "rgb(242,243,240)",
1760
+ "text-halo-width": 1
1761
+ }
1762
+ },
1763
+ {
1764
+ "id": "place_village",
1765
+ "type": "symbol",
1766
+ "metadata": {
1767
+ "mapbox:group": "101da9f13b64a08fa4b6ac1168e89e5f"
1768
+ },
1769
+ "source": "openmaptiles",
1770
+ "source-layer": "place",
1771
+ "maxzoom": 14,
1772
+ "filter": [
1773
+ "all",
1774
+ [
1775
+ "==",
1776
+ "$type",
1777
+ "Point"
1778
+ ],
1779
+ [
1780
+ "==",
1781
+ "class",
1782
+ "village"
1783
+ ]
1784
+ ],
1785
+ "layout": {
1786
+ "icon-size": 0.4,
1787
+ "text-anchor": "left",
1788
+ "text-field": "{name:latin}\n{name:nonlatin}",
1789
+ "text-font": [
1790
+ "Lato Regular"
1791
+ ],
1792
+ "text-justify": "left",
1793
+ "text-offset": [
1794
+ 0.5,
1795
+ 0.2
1796
+ ],
1797
+ "text-size": 10,
1798
+ "text-transform": "uppercase",
1799
+ "visibility": "visible"
1800
+ },
1801
+ "paint": {
1802
+ "icon-opacity": 0.7,
1803
+ "text-color": "rgb(117, 129, 145)",
1804
+ "text-halo-blur": 1,
1805
+ "text-halo-color": "rgb(242,243,240)",
1806
+ "text-halo-width": 1
1807
+ }
1808
+ },
1809
+ {
1810
+ "id": "place_town",
1811
+ "type": "symbol",
1812
+ "metadata": {
1813
+ "mapbox:group": "101da9f13b64a08fa4b6ac1168e89e5f"
1814
+ },
1815
+ "source": "openmaptiles",
1816
+ "source-layer": "place",
1817
+ "maxzoom": 15,
1818
+ "filter": [
1819
+ "all",
1820
+ [
1821
+ "==",
1822
+ "$type",
1823
+ "Point"
1824
+ ],
1825
+ [
1826
+ "==",
1827
+ "class",
1828
+ "town"
1829
+ ]
1830
+ ],
1831
+ "layout": {
1832
+ "text-anchor": {
1833
+ "base": 1,
1834
+ "stops": [
1835
+ [
1836
+ 0,
1837
+ "left"
1838
+ ],
1839
+ [
1840
+ 8,
1841
+ "center"
1842
+ ]
1843
+ ]
1844
+ },
1845
+ "text-field": "{name:latin}\n{name:nonlatin}",
1846
+ "text-font": [
1847
+ "Lato Regular"
1848
+ ],
1849
+ "text-justify": "left",
1850
+ "text-size": 10,
1851
+ "text-transform": "uppercase",
1852
+ "visibility": "visible"
1853
+ },
1854
+ "paint": {
1855
+ "icon-opacity": 0.7,
1856
+ "text-color": "rgb(117, 129, 145)",
1857
+ "text-halo-blur": 1,
1858
+ "text-halo-color": "rgb(242,243,240)",
1859
+ "text-halo-width": 1
1860
+ }
1861
+ },
1862
+ {
1863
+ "id": "place_city",
1864
+ "type": "symbol",
1865
+ "metadata": {
1866
+ "mapbox:group": "101da9f13b64a08fa4b6ac1168e89e5f"
1867
+ },
1868
+ "source": "openmaptiles",
1869
+ "source-layer": "place",
1870
+ "maxzoom": 14,
1871
+ "filter": [
1872
+ "all",
1873
+ [
1874
+ "==",
1875
+ "$type",
1876
+ "Point"
1877
+ ],
1878
+ [
1879
+ "all",
1880
+ [
1881
+ "!=",
1882
+ "capital",
1883
+ 2
1884
+ ],
1885
+ [
1886
+ "==",
1887
+ "class",
1888
+ "city"
1889
+ ],
1890
+ [
1891
+ ">",
1892
+ "rank",
1893
+ 3
1894
+ ]
1895
+ ]
1896
+ ],
1897
+ "layout": {
1898
+ "text-anchor": {
1899
+ "base": 1,
1900
+ "stops": [
1901
+ [
1902
+ 0,
1903
+ "left"
1904
+ ],
1905
+ [
1906
+ 8,
1907
+ "center"
1908
+ ]
1909
+ ]
1910
+ },
1911
+ "text-field": "{name:latin}\n{name:nonlatin}",
1912
+ "text-font": [
1913
+ "Lato Regular"
1914
+ ],
1915
+ "text-justify": "left",
1916
+ "text-size": 10,
1917
+ "text-transform": "uppercase",
1918
+ "visibility": "visible"
1919
+ },
1920
+ "paint": {
1921
+ "icon-opacity": 0.7,
1922
+ "text-color": "rgb(117, 129, 145)",
1923
+ "text-halo-blur": 1,
1924
+ "text-halo-color": "rgb(242,243,240)",
1925
+ "text-halo-width": 1
1926
+ }
1927
+ },
1928
+ {
1929
+ "id": "place_capital",
1930
+ "type": "symbol",
1931
+ "metadata": {
1932
+ "mapbox:group": "101da9f13b64a08fa4b6ac1168e89e5f"
1933
+ },
1934
+ "source": "openmaptiles",
1935
+ "source-layer": "place",
1936
+ "maxzoom": 12,
1937
+ "filter": [
1938
+ "all",
1939
+ [
1940
+ "==",
1941
+ "$type",
1942
+ "Point"
1943
+ ],
1944
+ [
1945
+ "all",
1946
+ [
1947
+ "==",
1948
+ "capital",
1949
+ 2
1950
+ ],
1951
+ [
1952
+ "==",
1953
+ "class",
1954
+ "city"
1955
+ ]
1956
+ ]
1957
+ ],
1958
+ "layout": {
1959
+ "text-anchor": {
1960
+ "base": 1,
1961
+ "stops": [
1962
+ [
1963
+ 0,
1964
+ "left"
1965
+ ],
1966
+ [
1967
+ 8,
1968
+ "center"
1969
+ ]
1970
+ ]
1971
+ },
1972
+ "text-field": "{name:latin}\n{name:nonlatin}",
1973
+ "text-font": [
1974
+ "Lato Regular"
1975
+ ],
1976
+ "text-justify": "left",
1977
+ "text-size": 14,
1978
+ "text-transform": "uppercase",
1979
+ "visibility": "visible"
1980
+ },
1981
+ "paint": {
1982
+ "icon-opacity": 0.7,
1983
+ "text-color": "rgb(117, 129, 145)",
1984
+ "text-halo-blur": 1,
1985
+ "text-halo-color": "rgb(242,243,240)",
1986
+ "text-halo-width": 1
1987
+ }
1988
+ },
1989
+ {
1990
+ "id": "place_city_large",
1991
+ "type": "symbol",
1992
+ "metadata": {
1993
+ "mapbox:group": "101da9f13b64a08fa4b6ac1168e89e5f"
1994
+ },
1995
+ "source": "openmaptiles",
1996
+ "source-layer": "place",
1997
+ "maxzoom": 12,
1998
+ "filter": [
1999
+ "all",
2000
+ [
2001
+ "==",
2002
+ "$type",
2003
+ "Point"
2004
+ ],
2005
+ [
2006
+ "all",
2007
+ [
2008
+ "!=",
2009
+ "capital",
2010
+ 2
2011
+ ],
2012
+ [
2013
+ "<=",
2014
+ "rank",
2015
+ 3
2016
+ ],
2017
+ [
2018
+ "==",
2019
+ "class",
2020
+ "city"
2021
+ ]
2022
+ ]
2023
+ ],
2024
+ "layout": {
2025
+ "text-anchor": {
2026
+ "base": 1,
2027
+ "stops": [
2028
+ [
2029
+ 0,
2030
+ "left"
2031
+ ],
2032
+ [
2033
+ 8,
2034
+ "center"
2035
+ ]
2036
+ ]
2037
+ },
2038
+ "text-field": "{name:latin}\n{name:nonlatin}",
2039
+ "text-font": [
2040
+ "Lato Regular"
2041
+ ],
2042
+ "text-justify": "left",
2043
+ "text-size": 14,
2044
+ "text-transform": "uppercase",
2045
+ "visibility": "visible"
2046
+ },
2047
+ "paint": {
2048
+ "icon-opacity": 0.7,
2049
+ "text-color": "rgb(117, 129, 145)",
2050
+ "text-halo-blur": 1,
2051
+ "text-halo-color": "rgb(242,243,240)",
2052
+ "text-halo-width": 1
2053
+ }
2054
+ },
2055
+ {
2056
+ "id": "place_state",
2057
+ "type": "symbol",
2058
+ "metadata": {
2059
+ "mapbox:group": "101da9f13b64a08fa4b6ac1168e89e5f"
2060
+ },
2061
+ "source": "openmaptiles",
2062
+ "source-layer": "place",
2063
+ "maxzoom": 12,
2064
+ "filter": [
2065
+ "all",
2066
+ [
2067
+ "==",
2068
+ "$type",
2069
+ "Point"
2070
+ ],
2071
+ [
2072
+ "==",
2073
+ "class",
2074
+ "state"
2075
+ ]
2076
+ ],
2077
+ "layout": {
2078
+ "text-field": "{name:latin}\n{name:nonlatin}",
2079
+ "text-font": [
2080
+ "Lato Regular"
2081
+ ],
2082
+ "text-size": 10,
2083
+ "text-transform": "uppercase",
2084
+ "visibility": "visible"
2085
+ },
2086
+ "paint": {
2087
+ "text-color": "rgb(113, 129, 144)",
2088
+ "text-halo-blur": 1,
2089
+ "text-halo-color": "rgb(242,243,240)",
2090
+ "text-halo-width": 1
2091
+ }
2092
+ },
2093
+ {
2094
+ "id": "place_country_other",
2095
+ "type": "symbol",
2096
+ "metadata": {
2097
+ "mapbox:group": "101da9f13b64a08fa4b6ac1168e89e5f"
2098
+ },
2099
+ "source": "openmaptiles",
2100
+ "source-layer": "place",
2101
+ "maxzoom": 8,
2102
+ "filter": [
2103
+ "all",
2104
+ [
2105
+ "==",
2106
+ "$type",
2107
+ "Point"
2108
+ ],
2109
+ [
2110
+ "==",
2111
+ "class",
2112
+ "country"
2113
+ ],
2114
+ [
2115
+ "!has",
2116
+ "iso_a2"
2117
+ ]
2118
+ ],
2119
+ "layout": {
2120
+ "text-field": "{name:latin}",
2121
+ "text-font": [
2122
+ "Lato Regular"
2123
+ ],
2124
+ "text-size": {
2125
+ "base": 1,
2126
+ "stops": [
2127
+ [
2128
+ 0,
2129
+ 9
2130
+ ],
2131
+ [
2132
+ 6,
2133
+ 11
2134
+ ]
2135
+ ]
2136
+ },
2137
+ "text-transform": "uppercase",
2138
+ "visibility": "visible"
2139
+ },
2140
+ "paint": {
2141
+ "text-color": {
2142
+ "base": 1,
2143
+ "stops": [
2144
+ [
2145
+ 3,
2146
+ "rgb(157,169,177)"
2147
+ ],
2148
+ [
2149
+ 4,
2150
+ "rgb(153, 153, 153)"
2151
+ ]
2152
+ ]
2153
+ },
2154
+ "text-halo-color": "rgba(236,236,234,0.7)",
2155
+ "text-halo-width": 1.4
2156
+ }
2157
+ },
2158
+ {
2159
+ "id": "place_country_minor",
2160
+ "type": "symbol",
2161
+ "metadata": {
2162
+ "mapbox:group": "101da9f13b64a08fa4b6ac1168e89e5f"
2163
+ },
2164
+ "source": "openmaptiles",
2165
+ "source-layer": "place",
2166
+ "maxzoom": 8,
2167
+ "filter": [
2168
+ "all",
2169
+ [
2170
+ "==",
2171
+ "$type",
2172
+ "Point"
2173
+ ],
2174
+ [
2175
+ "==",
2176
+ "class",
2177
+ "country"
2178
+ ],
2179
+ [
2180
+ ">=",
2181
+ "rank",
2182
+ 2
2183
+ ],
2184
+ [
2185
+ "has",
2186
+ "iso_a2"
2187
+ ]
2188
+ ],
2189
+ "layout": {
2190
+ "text-field": "{name:latin}",
2191
+ "text-font": [
2192
+ "Lato Regular"
2193
+ ],
2194
+ "text-size": {
2195
+ "base": 1,
2196
+ "stops": [
2197
+ [
2198
+ 0,
2199
+ 10
2200
+ ],
2201
+ [
2202
+ 6,
2203
+ 12
2204
+ ]
2205
+ ]
2206
+ },
2207
+ "text-transform": "uppercase",
2208
+ "visibility": "visible"
2209
+ },
2210
+ "paint": {
2211
+ "text-color": {
2212
+ "base": 1,
2213
+ "stops": [
2214
+ [
2215
+ 3,
2216
+ "rgb(157,169,177)"
2217
+ ],
2218
+ [
2219
+ 4,
2220
+ "rgb(153, 153, 153)"
2221
+ ]
2222
+ ]
2223
+ },
2224
+ "text-halo-color": "rgba(236,236,234,0.7)",
2225
+ "text-halo-width": 1.4
2226
+ }
2227
+ },
2228
+ {
2229
+ "id": "place_country_major",
2230
+ "type": "symbol",
2231
+ "metadata": {
2232
+ "mapbox:group": "101da9f13b64a08fa4b6ac1168e89e5f"
2233
+ },
2234
+ "source": "openmaptiles",
2235
+ "source-layer": "place",
2236
+ "maxzoom": 6,
2237
+ "filter": [
2238
+ "all",
2239
+ [
2240
+ "==",
2241
+ "$type",
2242
+ "Point"
2243
+ ],
2244
+ [
2245
+ "<=",
2246
+ "rank",
2247
+ 1
2248
+ ],
2249
+ [
2250
+ "==",
2251
+ "class",
2252
+ "country"
2253
+ ],
2254
+ [
2255
+ "has",
2256
+ "iso_a2"
2257
+ ]
2258
+ ],
2259
+ "layout": {
2260
+ "text-anchor": "center",
2261
+ "text-field": "{name:latin}",
2262
+ "text-font": [
2263
+ "Lato Regular"
2264
+ ],
2265
+ "text-size": {
2266
+ "base": 1.4,
2267
+ "stops": [
2268
+ [
2269
+ 0,
2270
+ 10
2271
+ ],
2272
+ [
2273
+ 3,
2274
+ 12
2275
+ ],
2276
+ [
2277
+ 4,
2278
+ 14
2279
+ ]
2280
+ ]
2281
+ },
2282
+ "text-transform": "uppercase",
2283
+ "visibility": "visible"
2284
+ },
2285
+ "paint": {
2286
+ "text-color": {
2287
+ "base": 1,
2288
+ "stops": [
2289
+ [
2290
+ 3,
2291
+ "rgb(157,169,177)"
2292
+ ],
2293
+ [
2294
+ 4,
2295
+ "rgb(153, 153, 153)"
2296
+ ]
2297
+ ]
2298
+ },
2299
+ "text-halo-color": "rgba(236,236,234,0.7)",
2300
+ "text-halo-width": 1.4
2301
+ }
2302
+ }
2303
+ ],
2304
+ "sprite": "https://atoms-map-sprites.sandbox.spatialverse.online/sprites/sprites",
2305
+ "glyphs": "https://atoms-map-sprites.sandbox.spatialverse.online/fonts/{fontstack}/{range}.pbf",
2306
+ "sources": {
2307
+ "openmaptiles": {
2308
+ "type": "vector",
2309
+ "url": "https://tiles.basemaps.cartocdn.com/vector/carto.streets/v1/tiles.json"
2310
+ }
2311
+ },
2312
+ "version": 8
2313
+ }