@openhistoricalmap/map-styles 0.9.8 → 0.9.11

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