@openhistoricalmap/map-styles 0.9.7 → 0.9.8

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