Debian Codegraph @

demos/osm-liberty/style.json

raw
1 {
2 "version": 8,
3 "name": "OSM Liberty",
4 "metadata": {
5 "maputnik:license": "https://github.com/maputnik/osm-liberty/blob/gh-pages/LICENSE.md",
6 "maputnik:renderer": "mbgljs",
7 "openmaptiles:version": "3.x"
8 },
9 "sources": {
10 "openmaptiles": {
11 "type": "vector",
12 "tiles": ["https://tileserver.gnome.org/data/v3/{z}/{x}/{y}.pbf"],
13 "minzoom": 0,
14 "maxzoom": 14
15 }
16 },
17 "layers": [
18 {
19 "id": "background",
20 "type": "background",
21 "paint": {"background-color": "rgb(239,239,239)"}
22 },
23 {
24 "id": "park",
25 "type": "fill",
26 "source": "openmaptiles",
27 "source-layer": "park",
28 "paint": {
29 "fill-color": "#d8e8c8",
30 "fill-opacity": 0.7,
31 "fill-outline-color": "rgba(95, 208, 100, 1)"
32 }
33 },
34 {
35 "id": "park_outline",
36 "type": "line",
37 "source": "openmaptiles",
38 "source-layer": "park",
39 "paint": {
40 "line-dasharray": [1, 1.5],
41 "line-color": "rgba(228, 241, 215, 1)"
42 }
43 },
44 {
45 "id": "landuse_residential",
46 "type": "fill",
47 "source": "openmaptiles",
48 "source-layer": "landuse",
49 "maxzoom": 8,
50 "filter": ["==", "class", "residential"],
51 "paint": {
52 "fill-color": {
53 "base": 1,
54 "stops": [
55 [9, "hsla(0, 3%, 85%, 0.84)"],
56 [12, "hsla(35, 57%, 88%, 0.49)"]
57 ]
58 }
59 }
60 },
61 {
62 "id": "landcover_wood",
63 "type": "fill",
64 "source": "openmaptiles",
65 "source-layer": "landcover",
66 "filter": ["all", ["==", "class", "wood"]],
67 "paint": {
68 "fill-antialias": false,
69 "fill-color": "hsla(98, 61%, 72%, 0.7)",
70 "fill-opacity": 0.4
71 }
72 },
73 {
74 "id": "landcover_grass",
75 "type": "fill",
76 "source": "openmaptiles",
77 "source-layer": "landcover",
78 "filter": ["all", ["==", "class", "grass"]],
79 "paint": {
80 "fill-antialias": false,
81 "fill-color": "rgba(176, 213, 154, 1)",
82 "fill-opacity": 0.3
83 }
84 },
85 {
86 "id": "landcover_ice",
87 "type": "fill",
88 "source": "openmaptiles",
89 "source-layer": "landcover",
90 "filter": ["all", ["==", "class", "ice"]],
91 "paint": {
92 "fill-antialias": false,
93 "fill-color": "rgba(224, 236, 236, 1)",
94 "fill-opacity": 0.8
95 }
96 },
97 {
98 "id": "landuse_cemetery",
99 "type": "fill",
100 "source": "openmaptiles",
101 "source-layer": "landuse",
102 "filter": ["==", "class", "cemetery"],
103 "paint": {"fill-color": "hsl(75, 37%, 81%)"}
104 },
105 {
106 "id": "landuse_hospital",
107 "type": "fill",
108 "source": "openmaptiles",
109 "source-layer": "landuse",
110 "filter": ["==", "class", "hospital"],
111 "paint": {"fill-color": "#fde"}
112 },
113 {
114 "id": "landuse_school",
115 "type": "fill",
116 "source": "openmaptiles",
117 "source-layer": "landuse",
118 "filter": ["==", "class", "school"],
119 "paint": {"fill-color": "rgb(236,238,204)"}
120 },
121 {
122 "id": "waterway_tunnel",
123 "type": "line",
124 "source": "openmaptiles",
125 "source-layer": "waterway",
126 "filter": ["all", ["==", "brunnel", "tunnel"]],
127 "paint": {
128 "line-color": "#a0c8f0",
129 "line-dasharray": [3, 3],
130 "line-gap-width": {"stops": [[12, 0], [20, 6]]},
131 "line-opacity": 1,
132 "line-width": {"base": 1.4, "stops": [[8, 1], [20, 2]]}
133 }
134 },
135 {
136 "id": "waterway_river",
137 "type": "line",
138 "source": "openmaptiles",
139 "source-layer": "waterway",
140 "filter": ["all", ["==", "class", "river"], ["!=", "brunnel", "tunnel"]],
141 "layout": {"line-cap": "round"},
142 "paint": {
143 "line-color": "#a0c8f0",
144 "line-width": {"base": 1.2, "stops": [[11, 0.5], [20, 6]]}
145 }
146 },
147 {
148 "id": "waterway_other",
149 "type": "line",
150 "source": "openmaptiles",
151 "source-layer": "waterway",
152 "filter": ["all", ["!=", "class", "river"], ["!=", "brunnel", "tunnel"]],
153 "layout": {"line-cap": "round"},
154 "paint": {
155 "line-color": "#a0c8f0",
156 "line-width": {"base": 1.3, "stops": [[13, 0.5], [20, 6]]}
157 }
158 },
159 {
160 "id": "water",
161 "type": "fill",
162 "source": "openmaptiles",
163 "source-layer": "water",
164 "filter": ["all", ["!=", "brunnel", "tunnel"]],
165 "paint": {"fill-color": "rgb(158,189,255)"}
166 },
167 {
168 "id": "landcover_sand",
169 "type": "fill",
170 "source": "openmaptiles",
171 "source-layer": "landcover",
172 "filter": ["all", ["==", "class", "sand"]],
173 "paint": {"fill-color": "rgba(247, 239, 195, 1)"}
174 },
175 {
176 "id": "aeroway_fill",
177 "type": "fill",
178 "source": "openmaptiles",
179 "source-layer": "aeroway",
180 "minzoom": 11,
181 "filter": ["==", "$type", "Polygon"],
182 "paint": {"fill-color": "rgba(229, 228, 224, 1)", "fill-opacity": 0.7}
183 },
184 {
185 "id": "aeroway_runway",
186 "type": "line",
187 "source": "openmaptiles",
188 "source-layer": "aeroway",
189 "minzoom": 11,
190 "filter": [
191 "all",
192 ["==", "$type", "LineString"],
193 ["==", "class", "runway"]
194 ],
195 "paint": {
196 "line-color": "#f0ede9",
197 "line-width": {"base": 1.2, "stops": [[11, 3], [20, 16]]}
198 }
199 },
200 {
201 "id": "aeroway_taxiway",
202 "type": "line",
203 "source": "openmaptiles",
204 "source-layer": "aeroway",
205 "minzoom": 11,
206 "filter": [
207 "all",
208 ["==", "$type", "LineString"],
209 ["==", "class", "taxiway"]
210 ],
211 "paint": {
212 "line-color": "#f0ede9",
213 "line-width": {"base": 1.2, "stops": [[11, 0.5], [20, 6]]}
214 }
215 },
216 {
217 "id": "tunnel_motorway_link_casing",
218 "type": "line",
219 "source": "openmaptiles",
220 "source-layer": "transportation",
221 "filter": [
222 "all",
223 ["==", "class", "motorway"],
224 ["==", "ramp", 1],
225 ["==", "brunnel", "tunnel"]
226 ],
227 "layout": {"line-join": "round"},
228 "paint": {
229 "line-color": "#e9ac77",
230 "line-dasharray": [0.5, 0.25],
231 "line-width": {
232 "base": 1.2,
233 "stops": [[12, 1], [13, 3], [14, 4], [20, 15]]
234 }
235 }
236 },
237 {
238 "id": "tunnel_service_track_casing",
239 "type": "line",
240 "source": "openmaptiles",
241 "source-layer": "transportation",
242 "filter": [
243 "all",
244 ["==", "brunnel", "tunnel"],
245 ["in", "class", "service", "track"]
246 ],
247 "layout": {"line-join": "round"},
248 "paint": {
249 "line-color": "#cfcdca",
250 "line-dasharray": [0.5, 0.25],
251 "line-width": {"base": 1.2, "stops": [[15, 1], [16, 4], [20, 11]]}
252 }
253 },
254 {
255 "id": "tunnel_link_casing",
256 "type": "line",
257 "source": "openmaptiles",
258 "source-layer": "transportation",
259 "filter": ["all", ["==", "ramp", 1], ["==", "brunnel", "tunnel"]],
260 "layout": {"line-join": "round"},
261 "paint": {
262 "line-color": "#e9ac77",
263 "line-width": {
264 "base": 1.2,
265 "stops": [[12, 1], [13, 3], [14, 4], [20, 15]]
266 }
267 }
268 },
269 {
270 "id": "tunnel_street_casing",
271 "type": "line",
272 "source": "openmaptiles",
273 "source-layer": "transportation",
274 "filter": [
275 "all",
276 ["==", "brunnel", "tunnel"],
277 ["in", "class", "street", "street_limited"]
278 ],
279 "layout": {"line-join": "round"},
280 "paint": {
281 "line-color": "#cfcdca",
282 "line-opacity": {"stops": [[12, 0], [12.5, 1]]},
283 "line-width": {
284 "base": 1.2,
285 "stops": [[12, 0.5], [13, 1], [14, 4], [20, 15]]
286 }
287 }
288 },
289 {
290 "id": "tunnel_secondary_tertiary_casing",
291 "type": "line",
292 "source": "openmaptiles",
293 "source-layer": "transportation",
294 "filter": [
295 "all",
296 ["==", "brunnel", "tunnel"],
297 ["in", "class", "secondary", "tertiary"]
298 ],
299 "layout": {"line-join": "round"},
300 "paint": {
301 "line-color": "#e9ac77",
302 "line-width": {"base": 1.2, "stops": [[8, 1.5], [20, 17]]}
303 }
304 },
305 {
306 "id": "tunnel_trunk_primary_casing",
307 "type": "line",
308 "source": "openmaptiles",
309 "source-layer": "transportation",
310 "filter": [
311 "all",
312 ["==", "brunnel", "tunnel"],
313 ["in", "class", "primary", "trunk"]
314 ],
315 "layout": {"line-join": "round"},
316 "paint": {
317 "line-color": "#e9ac77",
318 "line-width": {
319 "base": 1.2,
320 "stops": [[5, 0.4], [6, 0.7], [7, 1.75], [20, 22]]
321 }
322 }
323 },
324 {
325 "id": "tunnel_motorway_casing",
326 "type": "line",
327 "source": "openmaptiles",
328 "source-layer": "transportation",
329 "filter": [
330 "all",
331 ["==", "class", "motorway"],
332 ["!=", "ramp", 1],
333 ["==", "brunnel", "tunnel"]
334 ],
335 "layout": {"line-join": "round"},
336 "paint": {
337 "line-color": "#e9ac77",
338 "line-dasharray": [0.5, 0.25],
339 "line-width": {
340 "base": 1.2,
341 "stops": [[5, 0.4], [6, 0.7], [7, 1.75], [20, 22]]
342 }
343 }
344 },
345 {
346 "id": "tunnel_path_pedestrian",
347 "type": "line",
348 "source": "openmaptiles",
349 "source-layer": "transportation",
350 "filter": [
351 "all",
352 ["==", "$type", "LineString"],
353 ["==", "brunnel", "tunnel"],
354 ["in", "class", "path", "pedestrian"]
355 ],
356 "paint": {
357 "line-color": "hsl(0, 0%, 100%)",
358 "line-dasharray": [1, 0.75],
359 "line-width": {"base": 1.2, "stops": [[14, 0.5], [20, 10]]}
360 }
361 },
362 {
363 "id": "tunnel_motorway_link",
364 "type": "line",
365 "source": "openmaptiles",
366 "source-layer": "transportation",
367 "filter": [
368 "all",
369 ["==", "class", "motorway"],
370 ["==", "ramp", 1],
371 ["==", "brunnel", "tunnel"]
372 ],
373 "layout": {"line-join": "round"},
374 "paint": {
375 "line-color": "#fc8",
376 "line-width": {
377 "base": 1.2,
378 "stops": [[12.5, 0], [13, 1.5], [14, 2.5], [20, 11.5]]
379 }
380 }
381 },
382 {
383 "id": "tunnel_service_track",
384 "type": "line",
385 "source": "openmaptiles",
386 "source-layer": "transportation",
387 "filter": [
388 "all",
389 ["==", "brunnel", "tunnel"],
390 ["in", "class", "service", "track"]
391 ],
392 "layout": {"line-join": "round"},
393 "paint": {
394 "line-color": "#fff",
395 "line-width": {"base": 1.2, "stops": [[15.5, 0], [16, 2], [20, 7.5]]}
396 }
397 },
398 {
399 "id": "tunnel_link",
400 "type": "line",
401 "source": "openmaptiles",
402 "source-layer": "transportation",
403 "filter": ["all", ["==", "ramp", 1], ["==", "brunnel", "tunnel"]],
404 "layout": {"line-join": "round"},
405 "paint": {
406 "line-color": "#fff4c6",
407 "line-width": {
408 "base": 1.2,
409 "stops": [[12.5, 0], [13, 1.5], [14, 2.5], [20, 11.5]]
410 }
411 }
412 },
413 {
414 "id": "tunnel_minor",
415 "type": "line",
416 "source": "openmaptiles",
417 "source-layer": "transportation",
418 "filter": ["all", ["==", "brunnel", "tunnel"], ["in", "class", "minor"]],
419 "layout": {"line-join": "round"},
420 "paint": {
421 "line-color": "#fff",
422 "line-width": {"base": 1.2, "stops": [[13.5, 0], [14, 2.5], [20, 11.5]]}
423 }
424 },
425 {
426 "id": "tunnel_secondary_tertiary",
427 "type": "line",
428 "source": "openmaptiles",
429 "source-layer": "transportation",
430 "filter": [
431 "all",
432 ["==", "brunnel", "tunnel"],
433 ["in", "class", "secondary", "tertiary"]
434 ],
435 "layout": {"line-join": "round"},
436 "paint": {
437 "line-color": "#fff4c6",
438 "line-width": {"base": 1.2, "stops": [[6.5, 0], [7, 0.5], [20, 10]]}
439 }
440 },
441 {
442 "id": "tunnel_trunk_primary",
443 "type": "line",
444 "source": "openmaptiles",
445 "source-layer": "transportation",
446 "filter": [
447 "all",
448 ["==", "brunnel", "tunnel"],
449 ["in", "class", "primary", "trunk"]
450 ],
451 "layout": {"line-join": "round"},
452 "paint": {
453 "line-color": "#fff4c6",
454 "line-width": {"base": 1.2, "stops": [[5, 0], [7, 1], [20, 18]]}
455 }
456 },
457 {
458 "id": "tunnel_motorway",
459 "type": "line",
460 "source": "openmaptiles",
461 "source-layer": "transportation",
462 "filter": [
463 "all",
464 ["==", "class", "motorway"],
465 ["!=", "ramp", 1],
466 ["==", "brunnel", "tunnel"]
467 ],
468 "layout": {"line-join": "round"},
469 "paint": {
470 "line-color": "#ffdaa6",
471 "line-width": {"base": 1.2, "stops": [[5, 0], [7, 1], [20, 18]]}
472 }
473 },
474 {
475 "id": "tunnel_major_rail",
476 "type": "line",
477 "source": "openmaptiles",
478 "source-layer": "transportation",
479 "filter": ["all", ["==", "brunnel", "tunnel"], ["in", "class", "rail"]],
480 "paint": {
481 "line-color": "#bbb",
482 "line-width": {"base": 1.4, "stops": [[14, 0.4], [15, 0.75], [20, 2]]}
483 }
484 },
485 {
486 "id": "tunnel_major_rail_hatching",
487 "type": "line",
488 "source": "openmaptiles",
489 "source-layer": "transportation",
490 "filter": ["all", ["==", "brunnel", "tunnel"], ["==", "class", "rail"]],
491 "paint": {
492 "line-color": "#bbb",
493 "line-dasharray": [0.2, 8],
494 "line-width": {"base": 1.4, "stops": [[14.5, 0], [15, 3], [20, 8]]}
495 }
496 },
497 {
498 "id": "tunnel_transit_rail",
499 "type": "line",
500 "source": "openmaptiles",
501 "source-layer": "transportation",
502 "filter": [
503 "all",
504 ["==", "brunnel", "tunnel"],
505 ["in", "class", "transit"]
506 ],
507 "paint": {
508 "line-color": "#bbb",
509 "line-width": {"base": 1.4, "stops": [[14, 0.4], [15, 0.75], [20, 2]]}
510 }
511 },
512 {
513 "id": "tunnel_transit_rail_hatching",
514 "type": "line",
515 "source": "openmaptiles",
516 "source-layer": "transportation",
517 "filter": [
518 "all",
519 ["==", "brunnel", "tunnel"],
520 ["==", "class", "transit"]
521 ],
522 "paint": {
523 "line-color": "#bbb",
524 "line-dasharray": [0.2, 8],
525 "line-width": {"base": 1.4, "stops": [[14.5, 0], [15, 3], [20, 8]]}
526 }
527 },
528 {
529 "id": "road_area_pattern",
530 "type": "fill",
531 "source": "openmaptiles",
532 "source-layer": "transportation",
533 "filter": ["all", ["==", "$type", "Polygon"]],
534 "paint": {"fill-pattern": "pedestrian_polygon"}
535 },
536 {
537 "id": "road_motorway_link_casing",
538 "type": "line",
539 "source": "openmaptiles",
540 "source-layer": "transportation",
541 "minzoom": 12,
542 "filter": [
543 "all",
544 ["!in", "brunnel", "bridge", "tunnel"],
545 ["==", "class", "motorway"],
546 ["==", "ramp", 1]
547 ],
548 "layout": {"line-cap": "round", "line-join": "round"},
549 "paint": {
550 "line-color": "#e9ac77",
551 "line-width": {
552 "base": 1.2,
553 "stops": [[12, 1], [13, 3], [14, 4], [20, 15]]
554 }
555 }
556 },
557 {
558 "id": "road_service_track_casing",
559 "type": "line",
560 "source": "openmaptiles",
561 "source-layer": "transportation",
562 "filter": [
563 "all",
564 ["!in", "brunnel", "bridge", "tunnel"],
565 ["in", "class", "service", "track"]
566 ],
567 "layout": {"line-cap": "round", "line-join": "round"},
568 "paint": {
569 "line-color": "#cfcdca",
570 "line-width": {"base": 1.2, "stops": [[15, 1], [16, 4], [20, 11]]}
571 }
572 },
573 {
574 "id": "road_link_casing",
575 "type": "line",
576 "source": "openmaptiles",
577 "source-layer": "transportation",
578 "minzoom": 13,
579 "filter": [
580 "all",
581 ["!in", "brunnel", "bridge", "tunnel"],
582 ["!in", "class", "pedestrian", "path", "track", "service", "motorway"],
583 ["==", "ramp", 1]
584 ],
585 "layout": {"line-cap": "round", "line-join": "round"},
586 "paint": {
587 "line-color": "#e9ac77",
588 "line-width": {
589 "base": 1.2,
590 "stops": [[12, 1], [13, 3], [14, 4], [20, 15]]
591 }
592 }
593 },
594 {
595 "id": "road_minor_casing",
596 "type": "line",
597 "source": "openmaptiles",
598 "source-layer": "transportation",
599 "filter": [
600 "all",
601 ["==", "$type", "LineString"],
602 ["!in", "brunnel", "bridge", "tunnel"],
603 ["in", "class", "minor"],
604 ["!=", "ramp", 1]
605 ],
606 "layout": {"line-cap": "round", "line-join": "round"},
607 "paint": {
608 "line-color": "#cfcdca",
609 "line-opacity": {"stops": [[12, 0], [12.5, 1]]},
610 "line-width": {
611 "base": 1.2,
612 "stops": [[12, 0.5], [13, 1], [14, 4], [20, 20]]
613 }
614 }
615 },
616 {
617 "id": "road_secondary_tertiary_casing",
618 "type": "line",
619 "source": "openmaptiles",
620 "source-layer": "transportation",
621 "filter": [
622 "all",
623 ["!in", "brunnel", "bridge", "tunnel"],
624 ["in", "class", "secondary", "tertiary"],
625 ["!=", "ramp", 1]
626 ],
627 "layout": {"line-cap": "round", "line-join": "round"},
628 "paint": {
629 "line-color": "#e9ac77",
630 "line-width": {"base": 1.2, "stops": [[8, 1.5], [20, 17]]}
631 }
632 },
633 {
634 "id": "road_trunk_primary_casing",
635 "type": "line",
636 "source": "openmaptiles",
637 "source-layer": "transportation",
638 "filter": [
639 "all",
640 ["!in", "brunnel", "bridge", "tunnel"],
641 ["in", "class", "primary", "trunk"]
642 ],
643 "layout": {"line-join": "round"},
644 "paint": {
645 "line-color": "#e9ac77",
646 "line-width": {
647 "base": 1.2,
648 "stops": [[5, 0.4], [6, 0.7], [7, 1.75], [20, 22]]
649 }
650 }
651 },
652 {
653 "id": "road_motorway_casing",
654 "type": "line",
655 "source": "openmaptiles",
656 "source-layer": "transportation",
657 "minzoom": 5,
658 "filter": [
659 "all",
660 ["!in", "brunnel", "bridge", "tunnel"],
661 ["==", "class", "motorway"],
662 ["!=", "ramp", 1]
663 ],
664 "layout": {"line-cap": "round", "line-join": "round"},
665 "paint": {
666 "line-color": "#e9ac77",
667 "line-width": {
668 "base": 1.2,
669 "stops": [[5, 0.4], [6, 0.7], [7, 1.75], [20, 22]]
670 }
671 }
672 },
673 {
674 "id": "road_path_pedestrian",
675 "type": "line",
676 "source": "openmaptiles",
677 "source-layer": "transportation",
678 "minzoom": 14,
679 "filter": [
680 "all",
681 ["==", "$type", "LineString"],
682 ["!in", "brunnel", "bridge", "tunnel"],
683 ["in", "class", "path", "pedestrian"]
684 ],
685 "layout": {"line-join": "round"},
686 "paint": {
687 "line-color": "hsl(0, 0%, 100%)",
688 "line-dasharray": [1, 0.7],
689 "line-width": {"base": 1.2, "stops": [[14, 1], [20, 10]]}
690 }
691 },
692 {
693 "id": "road_motorway_link",
694 "type": "line",
695 "source": "openmaptiles",
696 "source-layer": "transportation",
697 "minzoom": 12,
698 "filter": [
699 "all",
700 ["!in", "brunnel", "bridge", "tunnel"],
701 ["==", "class", "motorway"],
702 ["==", "ramp", 1]
703 ],
704 "layout": {"line-cap": "round", "line-join": "round"},
705 "paint": {
706 "line-color": "#fc8",
707 "line-width": {
708 "base": 1.2,
709 "stops": [[12.5, 0], [13, 1.5], [14, 2.5], [20, 11.5]]
710 }
711 }
712 },
713 {
714 "id": "road_service_track",
715 "type": "line",
716 "source": "openmaptiles",
717 "source-layer": "transportation",
718 "filter": [
719 "all",
720 ["!in", "brunnel", "bridge", "tunnel"],
721 ["in", "class", "service", "track"]
722 ],
723 "layout": {"line-cap": "round", "line-join": "round"},
724 "paint": {
725 "line-color": "#fff",
726 "line-width": {"base": 1.2, "stops": [[15.5, 0], [16, 2], [20, 7.5]]}
727 }
728 },
729 {
730 "id": "road_link",
731 "type": "line",
732 "source": "openmaptiles",
733 "source-layer": "transportation",
734 "minzoom": 13,
735 "filter": [
736 "all",
737 ["!in", "brunnel", "bridge", "tunnel"],
738 ["==", "ramp", 1],
739 ["!in", "class", "pedestrian", "path", "track", "service", "motorway"]
740 ],
741 "layout": {"line-cap": "round", "line-join": "round"},
742 "paint": {
743 "line-color": "#fea",
744 "line-width": {
745 "base": 1.2,
746 "stops": [[12.5, 0], [13, 1.5], [14, 2.5], [20, 11.5]]
747 }
748 }
749 },
750 {
751 "id": "road_minor",
752 "type": "line",
753 "source": "openmaptiles",
754 "source-layer": "transportation",
755 "filter": [
756 "all",
757 ["==", "$type", "LineString"],
758 ["!in", "brunnel", "bridge", "tunnel"],
759 ["in", "class", "minor"]
760 ],
761 "layout": {"line-cap": "round", "line-join": "round"},
762 "paint": {
763 "line-color": "#fff",
764 "line-width": {"base": 1.2, "stops": [[13.5, 0], [14, 2.5], [20, 18]]}
765 }
766 },
767 {
768 "id": "road_secondary_tertiary",
769 "type": "line",
770 "source": "openmaptiles",
771 "source-layer": "transportation",
772 "filter": [
773 "all",
774 ["!in", "brunnel", "bridge", "tunnel"],
775 ["in", "class", "secondary", "tertiary"]
776 ],
777 "layout": {"line-cap": "round", "line-join": "round"},
778 "paint": {
779 "line-color": "#fea",
780 "line-width": {"base": 1.2, "stops": [[6.5, 0], [8, 0.5], [20, 13]]}
781 }
782 },
783 {
784 "id": "road_trunk_primary",
785 "type": "line",
786 "source": "openmaptiles",
787 "source-layer": "transportation",
788 "filter": [
789 "all",
790 ["!in", "brunnel", "bridge", "tunnel"],
791 ["in", "class", "primary", "trunk"]
792 ],
793 "layout": {"line-join": "round"},
794 "paint": {
795 "line-color": "#fea",
796 "line-width": {"base": 1.2, "stops": [[5, 0], [7, 1], [20, 18]]}
797 }
798 },
799 {
800 "id": "road_motorway",
801 "type": "line",
802 "source": "openmaptiles",
803 "source-layer": "transportation",
804 "minzoom": 5,
805 "filter": [
806 "all",
807 ["!in", "brunnel", "bridge", "tunnel"],
808 ["==", "class", "motorway"],
809 ["!=", "ramp", 1]
810 ],
811 "layout": {"line-cap": "round", "line-join": "round"},
812 "paint": {
813 "line-color": {
814 "base": 1,
815 "stops": [[5, "hsl(26, 87%, 62%)"], [6, "#fc8"]]
816 },
817 "line-width": {"base": 1.2, "stops": [[5, 0], [7, 1], [20, 18]]}
818 }
819 },
820 {
821 "id": "road_major_rail",
822 "type": "line",
823 "source": "openmaptiles",
824 "source-layer": "transportation",
825 "filter": [
826 "all",
827 ["!in", "brunnel", "bridge", "tunnel"],
828 ["==", "class", "rail"]
829 ],
830 "paint": {
831 "line-color": "#bbb",
832 "line-width": {"base": 1.4, "stops": [[14, 0.4], [15, 0.75], [20, 2]]}
833 }
834 },
835 {
836 "id": "road_major_rail_hatching",
837 "type": "line",
838 "source": "openmaptiles",
839 "source-layer": "transportation",
840 "filter": [
841 "all",
842 ["!in", "brunnel", "bridge", "tunnel"],
843 ["==", "class", "rail"]
844 ],
845 "paint": {
846 "line-color": "#bbb",
847 "line-dasharray": [0.2, 8],
848 "line-width": {"base": 1.4, "stops": [[14.5, 0], [15, 3], [20, 8]]}
849 }
850 },
851 {
852 "id": "road_transit_rail",
853 "type": "line",
854 "source": "openmaptiles",
855 "source-layer": "transportation",
856 "filter": [
857 "all",
858 ["!in", "brunnel", "bridge", "tunnel"],
859 ["==", "class", "transit"]
860 ],
861 "paint": {
862 "line-color": "#bbb",
863 "line-width": {"base": 1.4, "stops": [[14, 0.4], [15, 0.75], [20, 2]]}
864 }
865 },
866 {
867 "id": "road_transit_rail_hatching",
868 "type": "line",
869 "source": "openmaptiles",
870 "source-layer": "transportation",
871 "filter": [
872 "all",
873 ["!in", "brunnel", "bridge", "tunnel"],
874 ["==", "class", "transit"]
875 ],
876 "paint": {
877 "line-color": "#bbb",
878 "line-dasharray": [0.2, 8],
879 "line-width": {"base": 1.4, "stops": [[14.5, 0], [15, 3], [20, 8]]}
880 }
881 },
882 {
883 "id": "road_one_way_arrow",
884 "type": "symbol",
885 "source": "openmaptiles",
886 "source-layer": "transportation",
887 "minzoom": 15,
888 "filter": ["==", "oneway", 1],
889 "layout": {"icon-image": "arrow", "symbol-placement": "line"}
890 },
891 {
892 "id": "road_one_way_arrow_opposite",
893 "type": "symbol",
894 "source": "openmaptiles",
895 "source-layer": "transportation",
896 "minzoom": 15,
897 "filter": ["==", "oneway", -1],
898 "layout": {
899 "icon-image": "arrow",
900 "symbol-placement": "line",
901 "icon-rotate": 180
902 }
903 },
904 {
905 "id": "bridge_motorway_link_casing",
906 "type": "line",
907 "source": "openmaptiles",
908 "source-layer": "transportation",
909 "filter": [
910 "all",
911 ["==", "class", "motorway"],
912 ["==", "ramp", 1],
913 ["==", "brunnel", "bridge"]
914 ],
915 "layout": {"line-join": "round"},
916 "paint": {
917 "line-color": "#e9ac77",
918 "line-width": {
919 "base": 1.2,
920 "stops": [[12, 1], [13, 3], [14, 4], [20, 15]]
921 }
922 }
923 },
924 {
925 "id": "bridge_service_track_casing",
926 "type": "line",
927 "source": "openmaptiles",
928 "source-layer": "transportation",
929 "filter": [
930 "all",
931 ["==", "brunnel", "bridge"],
932 ["in", "class", "service", "track"]
933 ],
934 "layout": {"line-join": "round"},
935 "paint": {
936 "line-color": "#cfcdca",
937 "line-width": {"base": 1.2, "stops": [[15, 1], [16, 4], [20, 11]]}
938 }
939 },
940 {
941 "id": "bridge_link_casing",
942 "type": "line",
943 "source": "openmaptiles",
944 "source-layer": "transportation",
945 "filter": ["all", ["==", "class", "link"], ["==", "brunnel", "bridge"]],
946 "layout": {"line-join": "round"},
947 "paint": {
948 "line-color": "#e9ac77",
949 "line-width": {
950 "base": 1.2,
951 "stops": [[12, 1], [13, 3], [14, 4], [20, 15]]
952 }
953 }
954 },
955 {
956 "id": "bridge_street_casing",
957 "type": "line",
958 "source": "openmaptiles",
959 "source-layer": "transportation",
960 "filter": [
961 "all",
962 ["==", "brunnel", "bridge"],
963 ["in", "class", "street", "street_limited"]
964 ],
965 "layout": {"line-join": "round"},
966 "paint": {
967 "line-color": "hsl(36, 6%, 74%)",
968 "line-opacity": {"stops": [[12, 0], [12.5, 1]]},
969 "line-width": {
970 "base": 1.2,
971 "stops": [[12, 0.5], [13, 1], [14, 4], [20, 25]]
972 }
973 }
974 },
975 {
976 "id": "bridge_path_pedestrian_casing",
977 "type": "line",
978 "source": "openmaptiles",
979 "source-layer": "transportation",
980 "filter": [
981 "all",
982 ["==", "$type", "LineString"],
983 ["==", "brunnel", "bridge"],
984 ["in", "class", "path", "pedestrian"]
985 ],
986 "paint": {
987 "line-color": "hsl(35, 6%, 80%)",
988 "line-dasharray": [1, 0],
989 "line-width": {"base": 1.2, "stops": [[14, 1.5], [20, 18]]}
990 }
991 },
992 {
993 "id": "bridge_secondary_tertiary_casing",
994 "type": "line",
995 "source": "openmaptiles",
996 "source-layer": "transportation",
997 "filter": [
998 "all",
999 ["==", "brunnel", "bridge"],
1000 ["in", "class", "secondary", "tertiary"]
1001 ],
1002 "layout": {"line-join": "round"},
1003 "paint": {
1004 "line-color": "#e9ac77",
1005 "line-width": {"base": 1.2, "stops": [[8, 1.5], [20, 17]]}
1006 }
1007 },
1008 {
1009 "id": "bridge_trunk_primary_casing",
1010 "type": "line",
1011 "source": "openmaptiles",
1012 "source-layer": "transportation",
1013 "filter": [
1014 "all",
1015 ["==", "brunnel", "bridge"],
1016 ["in", "class", "primary", "trunk"]
1017 ],
1018 "layout": {"line-join": "round"},
1019 "paint": {
1020 "line-color": "#e9ac77",
1021 "line-width": {
1022 "base": 1.2,
1023 "stops": [[5, 0.4], [6, 0.7], [7, 1.75], [20, 22]]
1024 }
1025 }
1026 },
1027 {
1028 "id": "bridge_motorway_casing",
1029 "type": "line",
1030 "source": "openmaptiles",
1031 "source-layer": "transportation",
1032 "filter": [
1033 "all",
1034 ["==", "class", "motorway"],
1035 ["!=", "ramp", 1],
1036 ["==", "brunnel", "bridge"]
1037 ],
1038 "layout": {"line-join": "round"},
1039 "paint": {
1040 "line-color": "#e9ac77",
1041 "line-width": {
1042 "base": 1.2,
1043 "stops": [[5, 0.4], [6, 0.7], [7, 1.75], [20, 22]]
1044 }
1045 }
1046 },
1047 {
1048 "id": "bridge_path_pedestrian",
1049 "type": "line",
1050 "source": "openmaptiles",
1051 "source-layer": "transportation",
1052 "filter": [
1053 "all",
1054 ["==", "$type", "LineString"],
1055 ["==", "brunnel", "bridge"],
1056 ["in", "class", "path", "pedestrian"]
1057 ],
1058 "paint": {
1059 "line-color": "hsl(0, 0%, 100%)",
1060 "line-dasharray": [1, 0.3],
1061 "line-width": {"base": 1.2, "stops": [[14, 0.5], [20, 10]]}
1062 }
1063 },
1064 {
1065 "id": "bridge_motorway_link",
1066 "type": "line",
1067 "source": "openmaptiles",
1068 "source-layer": "transportation",
1069 "filter": [
1070 "all",
1071 ["==", "class", "motorway"],
1072 ["==", "ramp", 1],
1073 ["==", "brunnel", "bridge"]
1074 ],
1075 "layout": {"line-join": "round"},
1076 "paint": {
1077 "line-color": "#fc8",
1078 "line-width": {
1079 "base": 1.2,
1080 "stops": [[12.5, 0], [13, 1.5], [14, 2.5], [20, 11.5]]
1081 }
1082 }
1083 },
1084 {
1085 "id": "bridge_service_track",
1086 "type": "line",
1087 "source": "openmaptiles",
1088 "source-layer": "transportation",
1089 "filter": [
1090 "all",
1091 ["==", "brunnel", "bridge"],
1092 ["in", "class", "service", "track"]
1093 ],
1094 "layout": {"line-join": "round"},
1095 "paint": {
1096 "line-color": "#fff",
1097 "line-width": {"base": 1.2, "stops": [[15.5, 0], [16, 2], [20, 7.5]]}
1098 }
1099 },
1100 {
1101 "id": "bridge_link",
1102 "type": "line",
1103 "source": "openmaptiles",
1104 "source-layer": "transportation",
1105 "filter": ["all", ["==", "class", "link"], ["==", "brunnel", "bridge"]],
1106 "layout": {"line-join": "round"},
1107 "paint": {
1108 "line-color": "#fea",
1109 "line-width": {
1110 "base": 1.2,
1111 "stops": [[12.5, 0], [13, 1.5], [14, 2.5], [20, 11.5]]
1112 }
1113 }
1114 },
1115 {
1116 "id": "bridge_street",
1117 "type": "line",
1118 "source": "openmaptiles",
1119 "source-layer": "transportation",
1120 "filter": ["all", ["==", "brunnel", "bridge"], ["in", "class", "minor"]],
1121 "layout": {"line-join": "round"},
1122 "paint": {
1123 "line-color": "#fff",
1124 "line-width": {"base": 1.2, "stops": [[13.5, 0], [14, 2.5], [20, 18]]}
1125 }
1126 },
1127 {
1128 "id": "bridge_secondary_tertiary",
1129 "type": "line",
1130 "source": "openmaptiles",
1131 "source-layer": "transportation",
1132 "filter": [
1133 "all",
1134 ["==", "brunnel", "bridge"],
1135 ["in", "class", "secondary", "tertiary"]
1136 ],
1137 "layout": {"line-join": "round"},
1138 "paint": {
1139 "line-color": "#fea",
1140 "line-width": {"base": 1.2, "stops": [[6.5, 0], [7, 0.5], [20, 10]]}
1141 }
1142 },
1143 {
1144 "id": "bridge_trunk_primary",
1145 "type": "line",
1146 "source": "openmaptiles",
1147 "source-layer": "transportation",
1148 "filter": [
1149 "all",
1150 ["==", "brunnel", "bridge"],
1151 ["in", "class", "primary", "trunk"]
1152 ],
1153 "layout": {"line-join": "round"},
1154 "paint": {
1155 "line-color": "#fea",
1156 "line-width": {"base": 1.2, "stops": [[5, 0], [7, 1], [20, 18]]}
1157 }
1158 },
1159 {
1160 "id": "bridge_motorway",
1161 "type": "line",
1162 "source": "openmaptiles",
1163 "source-layer": "transportation",
1164 "filter": [
1165 "all",
1166 ["==", "class", "motorway"],
1167 ["!=", "ramp", 1],
1168 ["==", "brunnel", "bridge"]
1169 ],
1170 "layout": {"line-join": "round"},
1171 "paint": {
1172 "line-color": "#fc8",
1173 "line-width": {"base": 1.2, "stops": [[5, 0], [7, 1], [20, 18]]}
1174 }
1175 },
1176 {
1177 "id": "bridge_major_rail",
1178 "type": "line",
1179 "source": "openmaptiles",
1180 "source-layer": "transportation",
1181 "filter": ["all", ["==", "class", "rail"], ["==", "brunnel", "bridge"]],
1182 "paint": {
1183 "line-color": "#bbb",
1184 "line-width": {"base": 1.4, "stops": [[14, 0.4], [15, 0.75], [20, 2]]}
1185 }
1186 },
1187 {
1188 "id": "bridge_major_rail_hatching",
1189 "type": "line",
1190 "source": "openmaptiles",
1191 "source-layer": "transportation",
1192 "filter": ["all", ["==", "class", "rail"], ["==", "brunnel", "bridge"]],
1193 "paint": {
1194 "line-color": "#bbb",
1195 "line-dasharray": [0.2, 8],
1196 "line-width": {"base": 1.4, "stops": [[14.5, 0], [15, 3], [20, 8]]}
1197 }
1198 },
1199 {
1200 "id": "bridge_transit_rail",
1201 "type": "line",
1202 "source": "openmaptiles",
1203 "source-layer": "transportation",
1204 "filter": [
1205 "all",
1206 ["==", "class", "transit"],
1207 ["==", "brunnel", "bridge"]
1208 ],
1209 "paint": {
1210 "line-color": "#bbb",
1211 "line-width": {"base": 1.4, "stops": [[14, 0.4], [15, 0.75], [20, 2]]}
1212 }
1213 },
1214 {
1215 "id": "bridge_transit_rail_hatching",
1216 "type": "line",
1217 "source": "openmaptiles",
1218 "source-layer": "transportation",
1219 "filter": [
1220 "all",
1221 ["==", "class", "transit"],
1222 ["==", "brunnel", "bridge"]
1223 ],
1224 "paint": {
1225 "line-color": "#bbb",
1226 "line-dasharray": [0.2, 8],
1227 "line-width": {"base": 1.4, "stops": [[14.5, 0], [15, 3], [20, 8]]}
1228 }
1229 },
1230 {
1231 "id": "building",
1232 "type": "fill",
1233 "source": "openmaptiles",
1234 "source-layer": "building",
1235 "minzoom": 13,
1236 "paint": {
1237 "fill-color": "hsl(35, 8%, 85%)",
1238 "fill-outline-color": {
1239 "base": 1,
1240 "stops": [[13, "hsla(35, 6%, 79%, 0.32)"], [14, "hsl(35, 6%, 79%)"]]
1241 }
1242 }
1243 },
1244 {
1245 "id": "boundary_3",
1246 "type": "line",
1247 "source": "openmaptiles",
1248 "source-layer": "boundary",
1249 "minzoom": 8,
1250 "filter": ["all", ["in", "admin_level", 3, 4]],
1251 "layout": {"line-join": "round"},
1252 "paint": {
1253 "line-color": "#9e9cab",
1254 "line-dasharray": [5, 1],
1255 "line-width": {"base": 1, "stops": [[4, 0.4], [5, 1], [12, 1.8]]}
1256 }
1257 },
1258 {
1259 "id": "boundary_2_z0-4",
1260 "type": "line",
1261 "source": "openmaptiles",
1262 "source-layer": "boundary",
1263 "maxzoom": 5,
1264 "filter": ["all", ["==", "admin_level", 2], ["!has", "claimed_by"]],
1265 "layout": {"line-cap": "round", "line-join": "round"},
1266 "paint": {
1267 "line-color": "hsl(248, 1%, 41%)",
1268 "line-opacity": {"base": 1, "stops": [[0, 0.4], [4, 1]]},
1269 "line-width": {"base": 1, "stops": [[3, 1], [5, 1.2], [12, 3]]}
1270 }
1271 },
1272 {
1273 "id": "boundary_2_z5-",
1274 "type": "line",
1275 "source": "openmaptiles",
1276 "source-layer": "boundary",
1277 "minzoom": 5,
1278 "filter": ["all", ["==", "admin_level", 2]],
1279 "layout": {"line-cap": "round", "line-join": "round"},
1280 "paint": {
1281 "line-color": "hsl(248, 1%, 41%)",
1282 "line-opacity": {"base": 1, "stops": [[0, 0.4], [4, 1]]},
1283 "line-width": {"base": 1, "stops": [[3, 1], [5, 1.2], [12, 3]]}
1284 }
1285 },
1286 {
1287 "id": "water_name_line",
1288 "type": "symbol",
1289 "source": "openmaptiles",
1290 "source-layer": "waterway",
1291 "filter": ["all", ["==", "$type", "LineString"]],
1292 "layout": {
1293 "text-field": "{name}",
1294 "text-font": ["Roboto Regular"],
1295 "text-max-width": 5,
1296 "text-size": 12,
1297 "symbol-placement": "line"
1298 },
1299 "paint": {
1300 "text-color": "#5d60be",
1301 "text-halo-color": "rgba(255,255,255,0.7)",
1302 "text-halo-width": 1
1303 },
1304 "metadata": {
1305 "libshumate:cursor": "pointer"
1306 }
1307 },
1308 {
1309 "id": "water_name_point",
1310 "type": "symbol",
1311 "source": "openmaptiles",
1312 "source-layer": "water_name",
1313 "filter": ["==", "$type", "Point"],
1314 "layout": {
1315 "text-field": "{name}",
1316 "text-font": ["Roboto Regular"],
1317 "text-max-width": 5,
1318 "text-size": 12
1319 },
1320 "paint": {
1321 "text-color": "#5d60be",
1322 "text-halo-color": "rgba(255,255,255,0.7)",
1323 "text-halo-width": 1
1324 },
1325 "metadata": {
1326 "libshumate:cursor": "pointer"
1327 }
1328 },
1329 {
1330 "id": "poi_z16",
1331 "type": "symbol",
1332 "source": "openmaptiles",
1333 "source-layer": "poi",
1334 "minzoom": 16,
1335 "filter": ["all", ["==", "$type", "Point"], [">=", "rank", 20]],
1336 "layout": {
1337 "icon-image": "{class}_11",
1338 "text-anchor": "top",
1339 "text-field": "{name}",
1340 "text-font": ["Roboto Condensed Italic"],
1341 "text-max-width": 9,
1342 "text-offset": [0, 0.6],
1343 "text-size": 12
1344 },
1345 "paint": {
1346 "text-color": "#666",
1347 "text-halo-blur": 0.5,
1348 "text-halo-color": "#ffffff",
1349 "text-halo-width": 1
1350 },
1351 "metadata": {
1352 "libshumate:cursor": "pointer"
1353 }
1354 },
1355 {
1356 "id": "poi_z15",
1357 "type": "symbol",
1358 "source": "openmaptiles",
1359 "source-layer": "poi",
1360 "minzoom": 15,
1361 "filter": [
1362 "all",
1363 ["==", "$type", "Point"],
1364 [">=", "rank", 7],
1365 ["<", "rank", 20]
1366 ],
1367 "layout": {
1368 "icon-image": "{class}_11",
1369 "text-anchor": "top",
1370 "text-field": "{name}",
1371 "text-font": ["Roboto Condensed Italic"],
1372 "text-max-width": 9,
1373 "text-offset": [0, 0.6],
1374 "text-size": 12
1375 },
1376 "paint": {
1377 "text-color": "#666",
1378 "text-halo-blur": 0.5,
1379 "text-halo-color": "#ffffff",
1380 "text-halo-width": 1
1381 },
1382 "metadata": {
1383 "libshumate:cursor": "pointer"
1384 }
1385 },
1386 {
1387 "id": "poi_z14",
1388 "type": "symbol",
1389 "source": "openmaptiles",
1390 "source-layer": "poi",
1391 "minzoom": 14,
1392 "filter": [
1393 "all",
1394 ["==", "$type", "Point"],
1395 [">=", "rank", 1],
1396 ["<", "rank", 7]
1397 ],
1398 "layout": {
1399 "icon-image": "{class}_11",
1400 "text-anchor": "top",
1401 "text-field": "{name}",
1402 "text-font": ["Roboto Condensed Italic"],
1403 "text-max-width": 9,
1404 "text-offset": [0, 0.6],
1405 "text-size": 12
1406 },
1407 "paint": {
1408 "text-color": "#666",
1409 "text-halo-blur": 0.5,
1410 "text-halo-color": "#ffffff",
1411 "text-halo-width": 1
1412 },
1413 "metadata": {
1414 "libshumate:cursor": "pointer"
1415 }
1416 },
1417 {
1418 "id": "poi_transit",
1419 "type": "symbol",
1420 "source": "openmaptiles",
1421 "source-layer": "poi",
1422 "filter": ["all", ["in", "class", "bus", "rail", "airport"]],
1423 "layout": {
1424 "icon-image": "{class}_11",
1425 "text-anchor": "left",
1426 "text-field": "{name_en}",
1427 "text-font": ["Roboto Condensed Italic"],
1428 "text-max-width": 9,
1429 "text-offset": [0.9, 0],
1430 "text-size": 12
1431 },
1432 "paint": {
1433 "text-color": "#4898ff",
1434 "text-halo-blur": 0.5,
1435 "text-halo-color": "#ffffff",
1436 "text-halo-width": 1
1437 },
1438 "metadata": {
1439 "libshumate:cursor": "pointer"
1440 }
1441 },
1442 {
1443 "id": "road_label",
1444 "type": "symbol",
1445 "source": "openmaptiles",
1446 "source-layer": "transportation_name",
1447 "filter": ["all"],
1448 "layout": {
1449 "symbol-placement": "line",
1450 "text-anchor": "center",
1451 "text-field": "{name}",
1452 "text-font": ["Roboto Regular"],
1453 "text-offset": [0, 0.15],
1454 "text-size": {"base": 1, "stops": [[13, 12], [14, 13]]}
1455 },
1456 "paint": {
1457 "text-color": "#765",
1458 "text-halo-blur": 0.5,
1459 "text-halo-width": 1
1460 },
1461 "metadata": {
1462 "libshumate:cursor": "pointer"
1463 }
1464 },
1465 {
1466 "id": "road_shield",
1467 "type": "symbol",
1468 "source": "openmaptiles",
1469 "source-layer": "transportation_name",
1470 "minzoom": 7,
1471 "filter": ["all", ["<=", "ref_length", 6]],
1472 "layout": {
1473 "icon-image": "default_{ref_length}",
1474 "icon-rotation-alignment": "viewport",
1475 "symbol-placement": {"base": 1, "stops": [[10, "point"], [11, "line"]]},
1476 "symbol-spacing": 500,
1477 "text-field": "{ref}",
1478 "text-font": ["Roboto Regular"],
1479 "text-offset": [0, 0.1],
1480 "text-rotation-alignment": "viewport",
1481 "text-size": 10,
1482 "icon-size": 0.8
1483 }
1484 },
1485 {
1486 "id": "place_other",
1487 "type": "symbol",
1488 "source": "openmaptiles",
1489 "source-layer": "place",
1490 "filter": [
1491 "all",
1492 [
1493 "in",
1494 "class",
1495 "hamlet",
1496 "island",
1497 "islet",
1498 "neighbourhood",
1499 "suburb",
1500 "quarter"
1501 ]
1502 ],
1503 "layout": {
1504 "text-field": "{name_en}",
1505 "text-font": ["Roboto Condensed Italic"],
1506 "text-letter-spacing": 0.1,
1507 "text-max-width": 9,
1508 "text-size": {"base": 1.2, "stops": [[12, 10], [15, 14]]},
1509 "text-transform": "uppercase"
1510 },
1511 "paint": {
1512 "text-color": "#633",
1513 "text-halo-color": "rgba(255,255,255,0.8)",
1514 "text-halo-width": 1.2
1515 },
1516 "metadata": {
1517 "libshumate:cursor": "pointer"
1518 }
1519 },
1520 {
1521 "id": "place_village",
1522 "type": "symbol",
1523 "source": "openmaptiles",
1524 "source-layer": "place",
1525 "filter": ["all", ["==", "class", "village"]],
1526 "layout": {
1527 "text-field": "{name_en}",
1528 "text-font": ["Roboto Regular"],
1529 "text-max-width": 8,
1530 "text-size": {"base": 1.2, "stops": [[10, 12], [15, 22]]}
1531 },
1532 "paint": {
1533 "text-color": "#333",
1534 "text-halo-color": "rgba(255,255,255,0.8)",
1535 "text-halo-width": 1.2
1536 },
1537 "metadata": {
1538 "libshumate:cursor": "pointer"
1539 }
1540 },
1541 {
1542 "id": "place_town",
1543 "type": "symbol",
1544 "source": "openmaptiles",
1545 "source-layer": "place",
1546 "filter": ["all", ["==", "class", "town"]],
1547 "layout": {
1548 "icon-image": {"base": 1, "stops": [[0, "dot_9"], [8, ""]]},
1549 "text-anchor": "bottom",
1550 "text-field": "{name_en}",
1551 "text-font": ["Roboto Regular"],
1552 "text-max-width": 8,
1553 "text-offset": [0, 0],
1554 "text-size": {"base": 1.2, "stops": [[7, 12], [11, 16]]}
1555 },
1556 "paint": {
1557 "text-color": "#333",
1558 "text-halo-color": "rgba(255,255,255,0.8)",
1559 "text-halo-width": 1.2
1560 },
1561 "metadata": {
1562 "libshumate:cursor": "pointer"
1563 }
1564 },
1565 {
1566 "id": "place_city",
1567 "type": "symbol",
1568 "source": "openmaptiles",
1569 "source-layer": "place",
1570 "minzoom": 5,
1571 "filter": ["all", ["==", "class", "city"]],
1572 "layout": {
1573 "icon-image": {"base": 1, "stops": [[0, "dot_9"], [8, ""]]},
1574 "text-anchor": "bottom",
1575 "text-field": "{name_en}",
1576 "text-font": ["Roboto Medium"],
1577 "text-max-width": 8,
1578 "text-offset": [0, 0],
1579 "text-size": {"base": 1.2, "stops": [[7, 14], [11, 24]]},
1580 "icon-allow-overlap": true,
1581 "icon-optional": false
1582 },
1583 "paint": {
1584 "text-color": "#333",
1585 "text-halo-color": "rgba(255,255,255,0.8)",
1586 "text-halo-width": 1.2
1587 },
1588 "metadata": {
1589 "libshumate:cursor": "pointer"
1590 }
1591 },
1592 {
1593 "id": "state",
1594 "type": "symbol",
1595 "source": "openmaptiles",
1596 "source-layer": "place",
1597 "maxzoom": 6,
1598 "filter": ["all", ["==", "class", "state"]],
1599 "layout": {
1600 "text-field": "{name_en}",
1601 "text-font": ["Roboto Condensed Italic"],
1602 "text-size": {"stops": [[4, 11], [6, 15]]},
1603 "text-transform": "uppercase"
1604 },
1605 "paint": {
1606 "text-color": "#633",
1607 "text-halo-color": "rgba(255,255,255,0.7)",
1608 "text-halo-width": 1
1609 },
1610 "metadata": {
1611 "libshumate:cursor": "pointer"
1612 }
1613 },
1614 {
1615 "id": "country_3",
1616 "type": "symbol",
1617 "source": "openmaptiles",
1618 "source-layer": "place",
1619 "filter": ["all", [">=", "rank", 3], ["==", "class", "country"]],
1620 "layout": {
1621 "text-field": "{name_en}",
1622 "text-font": ["Roboto Condensed Italic"],
1623 "text-max-width": 6.25,
1624 "text-size": {"stops": [[3, 11], [7, 17]]},
1625 "text-transform": "none"
1626 },
1627 "paint": {
1628 "text-color": "#334",
1629 "text-halo-blur": 1,
1630 "text-halo-color": "rgba(255,255,255,0.8)",
1631 "text-halo-width": 1
1632 },
1633 "metadata": {
1634 "libshumate:cursor": "pointer"
1635 }
1636 },
1637 {
1638 "id": "country_2",
1639 "type": "symbol",
1640 "source": "openmaptiles",
1641 "source-layer": "place",
1642 "filter": ["all", ["==", "rank", 2], ["==", "class", "country"]],
1643 "layout": {
1644 "text-field": "{name_en}",
1645 "text-font": ["Roboto Condensed Italic"],
1646 "text-max-width": 6.25,
1647 "text-size": {"stops": [[2, 11], [5, 17]]},
1648 "text-transform": "none"
1649 },
1650 "paint": {
1651 "text-color": "#334",
1652 "text-halo-blur": 1,
1653 "text-halo-color": "rgba(255,255,255,0.8)",
1654 "text-halo-width": 1
1655 },
1656 "metadata": {
1657 "libshumate:cursor": "pointer"
1658 }
1659 },
1660 {
1661 "id": "country_1",
1662 "type": "symbol",
1663 "source": "openmaptiles",
1664 "source-layer": "place",
1665 "filter": ["all", ["==", "rank", 1], ["==", "class", "country"]],
1666 "layout": {
1667 "text-field": "{name_en}",
1668 "text-font": ["Roboto Condensed Italic"],
1669 "text-max-width": 6.25,
1670 "text-size": {"stops": [[1, 11], [4, 17]]},
1671 "text-transform": "none"
1672 },
1673 "paint": {
1674 "text-color": "#334",
1675 "text-halo-blur": 1,
1676 "text-halo-color": "rgba(255,255,255,0.8)",
1677 "text-halo-width": 1
1678 },
1679 "metadata": {
1680 "libshumate:cursor": "pointer"
1681 }
1682 },
1683 {
1684 "id": "continent",
1685 "type": "symbol",
1686 "source": "openmaptiles",
1687 "source-layer": "place",
1688 "maxzoom": 1,
1689 "filter": ["all", ["==", "class", "continent"]],
1690 "layout": {
1691 "text-field": "{name_en}",
1692 "text-font": ["Roboto Condensed Italic"],
1693 "text-size": 13,
1694 "text-transform": "uppercase",
1695 "text-justify": "center"
1696 },
1697 "paint": {
1698 "text-color": "#633",
1699 "text-halo-color": "rgba(255,255,255,0.7)",
1700 "text-halo-width": 1
1701 },
1702 "metadata": {
1703 "libshumate:cursor": "pointer"
1704 }
1705 }
1706 ],
1707 "id": "osm-liberty"
1708 }