@openhistoricalmap/map-styles 0.9.7 → 0.9.8

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