Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / maps / src / main / assets / style.json
style.json3627 lines · 63.0 KiBRaw
| 1 | { |
| 2 | "version": 8, |
| 3 | "sources": { |
| 4 | "protomaps": { |
| 5 | "type": "vector", |
| 6 | "attribution": "<a href=\"https://github.com/protomaps/basemaps\">Protomaps</a> © <a href=\"https://openstreetmap.org\">OpenStreetMap</a>", |
| 7 | "url": "pmtiles://https://data.maproj.org/v4.pmtiles" |
| 8 | }, |
| 9 | "protomapsOnline": { |
| 10 | "type": "vector", |
| 11 | "attribution": "<a href=\"https://github.com/protomaps/basemaps\">Protomaps</a> © <a href=\"https://openstreetmap.org\">OpenStreetMap</a>", |
| 12 | "url": "pmtiles://https://data.maproj.org/v4.pmtiles" |
| 13 | } |
| 14 | }, |
| 15 | "layers": [ |
| 16 | { |
| 17 | "id": "background", |
| 18 | "type": "background", |
| 19 | "paint": { |
| 20 | "background-color": "#cccccc" |
| 21 | } |
| 22 | }, |
| 23 | { |
| 24 | "id": "earth", |
| 25 | "type": "fill", |
| 26 | "filter": [ |
| 27 | "==", |
| 28 | "$type", |
| 29 | "Polygon" |
| 30 | ], |
| 31 | "source": "protomaps", |
| 32 | "source-layer": "earth", |
| 33 | "paint": { |
| 34 | "fill-color": "#e2dfda" |
| 35 | } |
| 36 | }, |
| 37 | { |
| 38 | "id": "landcover", |
| 39 | "type": "fill", |
| 40 | "source": "protomaps", |
| 41 | "source-layer": "landcover", |
| 42 | "paint": { |
| 43 | "fill-color": [ |
| 44 | "match", |
| 45 | [ |
| 46 | "get", |
| 47 | "kind" |
| 48 | ], |
| 49 | "grassland", |
| 50 | "rgba(210, 239, 207, 1)", |
| 51 | "barren", |
| 52 | "rgba(255, 243, 215, 1)", |
| 53 | "urban_area", |
| 54 | "rgba(230, 230, 230, 1)", |
| 55 | "farmland", |
| 56 | "rgba(216, 239, 210, 1)", |
| 57 | "glacier", |
| 58 | "rgba(255, 255, 255, 1)", |
| 59 | "scrub", |
| 60 | "rgba(234, 239, 210, 1)", |
| 61 | "rgba(196, 231, 210, 1)" |
| 62 | ], |
| 63 | "fill-opacity": [ |
| 64 | "interpolate", |
| 65 | [ |
| 66 | "linear" |
| 67 | ], |
| 68 | [ |
| 69 | "zoom" |
| 70 | ], |
| 71 | 5, |
| 72 | 1, |
| 73 | 7, |
| 74 | 0 |
| 75 | ] |
| 76 | } |
| 77 | }, |
| 78 | { |
| 79 | "id": "landuse_park", |
| 80 | "type": "fill", |
| 81 | "source": "protomaps", |
| 82 | "source-layer": "landuse", |
| 83 | "filter": [ |
| 84 | "in", |
| 85 | "kind", |
| 86 | "national_park", |
| 87 | "park", |
| 88 | "cemetery", |
| 89 | "protected_area", |
| 90 | "nature_reserve", |
| 91 | "forest", |
| 92 | "golf_course", |
| 93 | "wood", |
| 94 | "scrub", |
| 95 | "grassland", |
| 96 | "grass", |
| 97 | "military", |
| 98 | "naval_base", |
| 99 | "airfield" |
| 100 | ], |
| 101 | "paint": { |
| 102 | "fill-opacity": [ |
| 103 | "interpolate", |
| 104 | [ |
| 105 | "linear" |
| 106 | ], |
| 107 | [ |
| 108 | "zoom" |
| 109 | ], |
| 110 | 6, |
| 111 | 0, |
| 112 | 11, |
| 113 | 1 |
| 114 | ], |
| 115 | "fill-color": [ |
| 116 | "case", |
| 117 | [ |
| 118 | "in", |
| 119 | [ |
| 120 | "get", |
| 121 | "kind" |
| 122 | ], |
| 123 | [ |
| 124 | "literal", |
| 125 | [ |
| 126 | "national_park", |
| 127 | "park", |
| 128 | "cemetery", |
| 129 | "protected_area", |
| 130 | "nature_reserve", |
| 131 | "forest", |
| 132 | "golf_course" |
| 133 | ] |
| 134 | ] |
| 135 | ], |
| 136 | "#9cd3b4", |
| 137 | [ |
| 138 | "in", |
| 139 | [ |
| 140 | "get", |
| 141 | "kind" |
| 142 | ], |
| 143 | [ |
| 144 | "literal", |
| 145 | [ |
| 146 | "wood", |
| 147 | "nature_reserve", |
| 148 | "forest" |
| 149 | ] |
| 150 | ] |
| 151 | ], |
| 152 | "#a0d9a0", |
| 153 | [ |
| 154 | "in", |
| 155 | [ |
| 156 | "get", |
| 157 | "kind" |
| 158 | ], |
| 159 | [ |
| 160 | "literal", |
| 161 | [ |
| 162 | "scrub", |
| 163 | "grassland", |
| 164 | "grass" |
| 165 | ] |
| 166 | ] |
| 167 | ], |
| 168 | "#99d2bb", |
| 169 | [ |
| 170 | "in", |
| 171 | [ |
| 172 | "get", |
| 173 | "kind" |
| 174 | ], |
| 175 | [ |
| 176 | "literal", |
| 177 | [ |
| 178 | "glacier" |
| 179 | ] |
| 180 | ] |
| 181 | ], |
| 182 | "#e7e7e7", |
| 183 | [ |
| 184 | "in", |
| 185 | [ |
| 186 | "get", |
| 187 | "kind" |
| 188 | ], |
| 189 | [ |
| 190 | "literal", |
| 191 | [ |
| 192 | "sand" |
| 193 | ] |
| 194 | ] |
| 195 | ], |
| 196 | "#e2e0d7", |
| 197 | [ |
| 198 | "in", |
| 199 | [ |
| 200 | "get", |
| 201 | "kind" |
| 202 | ], |
| 203 | [ |
| 204 | "literal", |
| 205 | [ |
| 206 | "military", |
| 207 | "naval_base", |
| 208 | "airfield" |
| 209 | ] |
| 210 | ] |
| 211 | ], |
| 212 | "#c6dcdc", |
| 213 | "#e2dfda" |
| 214 | ] |
| 215 | } |
| 216 | }, |
| 217 | { |
| 218 | "id": "landuse_urban_green", |
| 219 | "type": "fill", |
| 220 | "source": "protomaps", |
| 221 | "source-layer": "landuse", |
| 222 | "filter": [ |
| 223 | "in", |
| 224 | "kind", |
| 225 | "allotments", |
| 226 | "village_green", |
| 227 | "playground" |
| 228 | ], |
| 229 | "paint": { |
| 230 | "fill-color": "#9cd3b4", |
| 231 | "fill-opacity": 0.7 |
| 232 | } |
| 233 | }, |
| 234 | { |
| 235 | "id": "landuse_hospital", |
| 236 | "type": "fill", |
| 237 | "source": "protomaps", |
| 238 | "source-layer": "landuse", |
| 239 | "filter": [ |
| 240 | "==", |
| 241 | "kind", |
| 242 | "hospital" |
| 243 | ], |
| 244 | "paint": { |
| 245 | "fill-color": "#e4dad9" |
| 246 | } |
| 247 | }, |
| 248 | { |
| 249 | "id": "landuse_industrial", |
| 250 | "type": "fill", |
| 251 | "source": "protomaps", |
| 252 | "source-layer": "landuse", |
| 253 | "filter": [ |
| 254 | "==", |
| 255 | "kind", |
| 256 | "industrial" |
| 257 | ], |
| 258 | "paint": { |
| 259 | "fill-color": "#d1dde1" |
| 260 | } |
| 261 | }, |
| 262 | { |
| 263 | "id": "landuse_school", |
| 264 | "type": "fill", |
| 265 | "source": "protomaps", |
| 266 | "source-layer": "landuse", |
| 267 | "filter": [ |
| 268 | "in", |
| 269 | "kind", |
| 270 | "school", |
| 271 | "university", |
| 272 | "college" |
| 273 | ], |
| 274 | "paint": { |
| 275 | "fill-color": "#e4ded7" |
| 276 | } |
| 277 | }, |
| 278 | { |
| 279 | "id": "landuse_beach", |
| 280 | "type": "fill", |
| 281 | "source": "protomaps", |
| 282 | "source-layer": "landuse", |
| 283 | "filter": [ |
| 284 | "in", |
| 285 | "kind", |
| 286 | "beach" |
| 287 | ], |
| 288 | "paint": { |
| 289 | "fill-color": "#e8e4d0" |
| 290 | } |
| 291 | }, |
| 292 | { |
| 293 | "id": "landuse_zoo", |
| 294 | "type": "fill", |
| 295 | "source": "protomaps", |
| 296 | "source-layer": "landuse", |
| 297 | "filter": [ |
| 298 | "in", |
| 299 | "kind", |
| 300 | "zoo" |
| 301 | ], |
| 302 | "paint": { |
| 303 | "fill-color": "#c6dcdc" |
| 304 | } |
| 305 | }, |
| 306 | { |
| 307 | "id": "landuse_aerodrome", |
| 308 | "type": "fill", |
| 309 | "source": "protomaps", |
| 310 | "source-layer": "landuse", |
| 311 | "filter": [ |
| 312 | "in", |
| 313 | "kind", |
| 314 | "aerodrome" |
| 315 | ], |
| 316 | "paint": { |
| 317 | "fill-color": "#dadbdf" |
| 318 | } |
| 319 | }, |
| 320 | { |
| 321 | "id": "roads_runway", |
| 322 | "type": "line", |
| 323 | "source": "protomaps", |
| 324 | "source-layer": "roads", |
| 325 | "filter": [ |
| 326 | "==", |
| 327 | "kind_detail", |
| 328 | "runway" |
| 329 | ], |
| 330 | "paint": { |
| 331 | "line-color": "#e9e9ed", |
| 332 | "line-width": [ |
| 333 | "interpolate", |
| 334 | [ |
| 335 | "exponential", |
| 336 | 1.6 |
| 337 | ], |
| 338 | [ |
| 339 | "zoom" |
| 340 | ], |
| 341 | 10, |
| 342 | 0, |
| 343 | 12, |
| 344 | 4, |
| 345 | 18, |
| 346 | 30 |
| 347 | ] |
| 348 | } |
| 349 | }, |
| 350 | { |
| 351 | "id": "roads_taxiway", |
| 352 | "type": "line", |
| 353 | "source": "protomaps", |
| 354 | "source-layer": "roads", |
| 355 | "minzoom": 13, |
| 356 | "filter": [ |
| 357 | "==", |
| 358 | "kind_detail", |
| 359 | "taxiway" |
| 360 | ], |
| 361 | "paint": { |
| 362 | "line-color": "#e9e9ed", |
| 363 | "line-width": [ |
| 364 | "interpolate", |
| 365 | [ |
| 366 | "exponential", |
| 367 | 1.6 |
| 368 | ], |
| 369 | [ |
| 370 | "zoom" |
| 371 | ], |
| 372 | 13, |
| 373 | 0, |
| 374 | 13.5, |
| 375 | 1, |
| 376 | 15, |
| 377 | 6 |
| 378 | ] |
| 379 | } |
| 380 | }, |
| 381 | { |
| 382 | "id": "landuse_runway", |
| 383 | "type": "fill", |
| 384 | "source": "protomaps", |
| 385 | "source-layer": "landuse", |
| 386 | "filter": [ |
| 387 | "any", |
| 388 | [ |
| 389 | "in", |
| 390 | "kind", |
| 391 | "runway", |
| 392 | "taxiway" |
| 393 | ] |
| 394 | ], |
| 395 | "paint": { |
| 396 | "fill-color": "#e9e9ed" |
| 397 | } |
| 398 | }, |
| 399 | { |
| 400 | "id": "water", |
| 401 | "type": "fill", |
| 402 | "filter": [ |
| 403 | "==", |
| 404 | "$type", |
| 405 | "Polygon" |
| 406 | ], |
| 407 | "source": "protomaps", |
| 408 | "source-layer": "water", |
| 409 | "paint": { |
| 410 | "fill-color": "#80deea" |
| 411 | } |
| 412 | }, |
| 413 | { |
| 414 | "id": "water_stream", |
| 415 | "type": "line", |
| 416 | "source": "protomaps", |
| 417 | "source-layer": "water", |
| 418 | "minzoom": 14, |
| 419 | "filter": [ |
| 420 | "in", |
| 421 | "kind", |
| 422 | "stream" |
| 423 | ], |
| 424 | "paint": { |
| 425 | "line-color": "#80deea", |
| 426 | "line-width": 0.5 |
| 427 | } |
| 428 | }, |
| 429 | { |
| 430 | "id": "water_river", |
| 431 | "type": "line", |
| 432 | "source": "protomaps", |
| 433 | "source-layer": "water", |
| 434 | "minzoom": 9, |
| 435 | "filter": [ |
| 436 | "in", |
| 437 | "kind", |
| 438 | "river" |
| 439 | ], |
| 440 | "paint": { |
| 441 | "line-color": "#80deea", |
| 442 | "line-width": [ |
| 443 | "interpolate", |
| 444 | [ |
| 445 | "exponential", |
| 446 | 1.6 |
| 447 | ], |
| 448 | [ |
| 449 | "zoom" |
| 450 | ], |
| 451 | 9, |
| 452 | 0, |
| 453 | 9.5, |
| 454 | 1, |
| 455 | 18, |
| 456 | 12 |
| 457 | ] |
| 458 | } |
| 459 | }, |
| 460 | { |
| 461 | "id": "landuse_pedestrian", |
| 462 | "type": "fill", |
| 463 | "source": "protomaps", |
| 464 | "source-layer": "landuse", |
| 465 | "filter": [ |
| 466 | "in", |
| 467 | "kind", |
| 468 | "pedestrian", |
| 469 | "dam" |
| 470 | ], |
| 471 | "paint": { |
| 472 | "fill-color": "#e3e0d4" |
| 473 | } |
| 474 | }, |
| 475 | { |
| 476 | "id": "landuse_pier", |
| 477 | "type": "fill", |
| 478 | "source": "protomaps", |
| 479 | "source-layer": "landuse", |
| 480 | "filter": [ |
| 481 | "==", |
| 482 | "kind", |
| 483 | "pier" |
| 484 | ], |
| 485 | "paint": { |
| 486 | "fill-color": "#e0e0e0" |
| 487 | } |
| 488 | }, |
| 489 | { |
| 490 | "id": "landuse_orchard", |
| 491 | "type": "fill", |
| 492 | "source": "protomaps", |
| 493 | "source-layer": "landuse", |
| 494 | "filter": [ |
| 495 | "==", |
| 496 | "kind", |
| 497 | "orchard" |
| 498 | ], |
| 499 | "paint": { |
| 500 | "fill-color": "#c9e4b4" |
| 501 | } |
| 502 | }, |
| 503 | { |
| 504 | "id": "landuse_vineyard", |
| 505 | "type": "fill", |
| 506 | "source": "protomaps", |
| 507 | "source-layer": "landuse", |
| 508 | "filter": [ |
| 509 | "==", |
| 510 | "kind", |
| 511 | "vineyard" |
| 512 | ], |
| 513 | "paint": { |
| 514 | "fill-color": "#b8d9a3" |
| 515 | } |
| 516 | }, |
| 517 | { |
| 518 | "id": "landuse_quarry", |
| 519 | "type": "fill", |
| 520 | "source": "protomaps", |
| 521 | "source-layer": "landuse", |
| 522 | "filter": [ |
| 523 | "==", |
| 524 | "kind", |
| 525 | "quarry" |
| 526 | ], |
| 527 | "paint": { |
| 528 | "fill-color": "#e8e0d0" |
| 529 | } |
| 530 | }, |
| 531 | { |
| 532 | "id": "landuse_swimming_pool", |
| 533 | "type": "fill", |
| 534 | "source": "protomaps", |
| 535 | "source-layer": "landuse", |
| 536 | "filter": [ |
| 537 | "==", |
| 538 | "kind", |
| 539 | "swimming_pool" |
| 540 | ], |
| 541 | "paint": { |
| 542 | "fill-color": "#80deea" |
| 543 | } |
| 544 | }, |
| 545 | { |
| 546 | "id": "landuse_residential", |
| 547 | "type": "fill", |
| 548 | "source": "protomaps", |
| 549 | "source-layer": "landuse", |
| 550 | "filter": [ |
| 551 | "==", |
| 552 | "kind", |
| 553 | "residential" |
| 554 | ], |
| 555 | "paint": { |
| 556 | "fill-color": "#e6e2d8" |
| 557 | } |
| 558 | }, |
| 559 | { |
| 560 | "id": "landuse_commercial", |
| 561 | "type": "fill", |
| 562 | "source": "protomaps", |
| 563 | "source-layer": "landuse", |
| 564 | "filter": [ |
| 565 | "==", |
| 566 | "kind", |
| 567 | "commercial" |
| 568 | ], |
| 569 | "paint": { |
| 570 | "fill-color": "#dcd6e0" |
| 571 | } |
| 572 | }, |
| 573 | { |
| 574 | "id": "roads_tunnels_other_casing", |
| 575 | "type": "line", |
| 576 | "source": "protomaps", |
| 577 | "source-layer": "roads", |
| 578 | "filter": [ |
| 579 | "all", |
| 580 | [ |
| 581 | "has", |
| 582 | "is_tunnel" |
| 583 | ], |
| 584 | [ |
| 585 | "in", |
| 586 | "kind", |
| 587 | "other", |
| 588 | "path" |
| 589 | ] |
| 590 | ], |
| 591 | "paint": { |
| 592 | "line-color": "#e0e0e0", |
| 593 | "line-gap-width": [ |
| 594 | "interpolate", |
| 595 | [ |
| 596 | "exponential", |
| 597 | 1.6 |
| 598 | ], |
| 599 | [ |
| 600 | "zoom" |
| 601 | ], |
| 602 | 14, |
| 603 | 0, |
| 604 | 20, |
| 605 | 7 |
| 606 | ] |
| 607 | } |
| 608 | }, |
| 609 | { |
| 610 | "id": "roads_tunnels_minor_casing", |
| 611 | "type": "line", |
| 612 | "source": "protomaps", |
| 613 | "source-layer": "roads", |
| 614 | "filter": [ |
| 615 | "all", |
| 616 | [ |
| 617 | "has", |
| 618 | "is_tunnel" |
| 619 | ], |
| 620 | [ |
| 621 | "==", |
| 622 | "kind", |
| 623 | "minor_road" |
| 624 | ] |
| 625 | ], |
| 626 | "paint": { |
| 627 | "line-color": "#e0e0e0", |
| 628 | "line-dasharray": [ |
| 629 | 3, |
| 630 | 2 |
| 631 | ], |
| 632 | "line-gap-width": [ |
| 633 | "interpolate", |
| 634 | [ |
| 635 | "exponential", |
| 636 | 1.6 |
| 637 | ], |
| 638 | [ |
| 639 | "zoom" |
| 640 | ], |
| 641 | 11, |
| 642 | 0, |
| 643 | 12.5, |
| 644 | 0.5, |
| 645 | 15, |
| 646 | 2, |
| 647 | 18, |
| 648 | 11 |
| 649 | ], |
| 650 | "line-width": [ |
| 651 | "interpolate", |
| 652 | [ |
| 653 | "exponential", |
| 654 | 1.6 |
| 655 | ], |
| 656 | [ |
| 657 | "zoom" |
| 658 | ], |
| 659 | 12, |
| 660 | 0, |
| 661 | 12.5, |
| 662 | 1 |
| 663 | ] |
| 664 | } |
| 665 | }, |
| 666 | { |
| 667 | "id": "roads_tunnels_link_casing", |
| 668 | "type": "line", |
| 669 | "source": "protomaps", |
| 670 | "source-layer": "roads", |
| 671 | "filter": [ |
| 672 | "all", |
| 673 | [ |
| 674 | "has", |
| 675 | "is_tunnel" |
| 676 | ], |
| 677 | [ |
| 678 | "has", |
| 679 | "is_link" |
| 680 | ] |
| 681 | ], |
| 682 | "paint": { |
| 683 | "line-color": "#e0e0e0", |
| 684 | "line-dasharray": [ |
| 685 | 3, |
| 686 | 2 |
| 687 | ], |
| 688 | "line-gap-width": [ |
| 689 | "interpolate", |
| 690 | [ |
| 691 | "exponential", |
| 692 | 1.6 |
| 693 | ], |
| 694 | [ |
| 695 | "zoom" |
| 696 | ], |
| 697 | 13, |
| 698 | 0, |
| 699 | 13.5, |
| 700 | 1, |
| 701 | 18, |
| 702 | 11 |
| 703 | ], |
| 704 | "line-width": [ |
| 705 | "interpolate", |
| 706 | [ |
| 707 | "exponential", |
| 708 | 1.6 |
| 709 | ], |
| 710 | [ |
| 711 | "zoom" |
| 712 | ], |
| 713 | 12, |
| 714 | 0, |
| 715 | 12.5, |
| 716 | 1 |
| 717 | ] |
| 718 | } |
| 719 | }, |
| 720 | { |
| 721 | "id": "roads_tunnels_major_casing", |
| 722 | "type": "line", |
| 723 | "source": "protomaps", |
| 724 | "source-layer": "roads", |
| 725 | "filter": [ |
| 726 | "all", |
| 727 | [ |
| 728 | "!has", |
| 729 | "is_tunnel" |
| 730 | ], |
| 731 | [ |
| 732 | "!has", |
| 733 | "is_bridge" |
| 734 | ], |
| 735 | [ |
| 736 | "==", |
| 737 | "kind", |
| 738 | "major_road" |
| 739 | ] |
| 740 | ], |
| 741 | "paint": { |
| 742 | "line-color": "#e0e0e0", |
| 743 | "line-dasharray": [ |
| 744 | 3, |
| 745 | 2 |
| 746 | ], |
| 747 | "line-gap-width": [ |
| 748 | "interpolate", |
| 749 | [ |
| 750 | "exponential", |
| 751 | 1.6 |
| 752 | ], |
| 753 | [ |
| 754 | "zoom" |
| 755 | ], |
| 756 | 7, |
| 757 | 0, |
| 758 | 7.5, |
| 759 | 0.5, |
| 760 | 18, |
| 761 | 13 |
| 762 | ], |
| 763 | "line-width": [ |
| 764 | "interpolate", |
| 765 | [ |
| 766 | "exponential", |
| 767 | 1.6 |
| 768 | ], |
| 769 | [ |
| 770 | "zoom" |
| 771 | ], |
| 772 | 9, |
| 773 | 0, |
| 774 | 9.5, |
| 775 | 1 |
| 776 | ] |
| 777 | } |
| 778 | }, |
| 779 | { |
| 780 | "id": "roads_tunnels_highway_casing", |
| 781 | "type": "line", |
| 782 | "source": "protomaps", |
| 783 | "source-layer": "roads", |
| 784 | "filter": [ |
| 785 | "all", |
| 786 | [ |
| 787 | "!has", |
| 788 | "is_tunnel" |
| 789 | ], |
| 790 | [ |
| 791 | "!has", |
| 792 | "is_bridge" |
| 793 | ], |
| 794 | [ |
| 795 | "==", |
| 796 | "kind", |
| 797 | "highway" |
| 798 | ], |
| 799 | [ |
| 800 | "!has", |
| 801 | "is_link" |
| 802 | ] |
| 803 | ], |
| 804 | "paint": { |
| 805 | "line-color": "#e0e0e0", |
| 806 | "line-dasharray": [ |
| 807 | 6, |
| 808 | 0.5 |
| 809 | ], |
| 810 | "line-gap-width": [ |
| 811 | "interpolate", |
| 812 | [ |
| 813 | "exponential", |
| 814 | 1.6 |
| 815 | ], |
| 816 | [ |
| 817 | "zoom" |
| 818 | ], |
| 819 | 3, |
| 820 | 0, |
| 821 | 3.5, |
| 822 | 0.5, |
| 823 | 18, |
| 824 | 15 |
| 825 | ], |
| 826 | "line-width": [ |
| 827 | "interpolate", |
| 828 | [ |
| 829 | "exponential", |
| 830 | 1.6 |
| 831 | ], |
| 832 | [ |
| 833 | "zoom" |
| 834 | ], |
| 835 | 7, |
| 836 | 0, |
| 837 | 7.5, |
| 838 | 1, |
| 839 | 20, |
| 840 | 15 |
| 841 | ] |
| 842 | } |
| 843 | }, |
| 844 | { |
| 845 | "id": "roads_tunnels_other", |
| 846 | "type": "line", |
| 847 | "source": "protomaps", |
| 848 | "source-layer": "roads", |
| 849 | "filter": [ |
| 850 | "all", |
| 851 | [ |
| 852 | "has", |
| 853 | "is_tunnel" |
| 854 | ], |
| 855 | [ |
| 856 | "in", |
| 857 | "kind", |
| 858 | "other", |
| 859 | "path" |
| 860 | ] |
| 861 | ], |
| 862 | "paint": { |
| 863 | "line-color": "#d5d5d5", |
| 864 | "line-dasharray": [ |
| 865 | 4.5, |
| 866 | 0.5 |
| 867 | ], |
| 868 | "line-width": [ |
| 869 | "interpolate", |
| 870 | [ |
| 871 | "exponential", |
| 872 | 1.6 |
| 873 | ], |
| 874 | [ |
| 875 | "zoom" |
| 876 | ], |
| 877 | 14, |
| 878 | 0, |
| 879 | 20, |
| 880 | 7 |
| 881 | ] |
| 882 | } |
| 883 | }, |
| 884 | { |
| 885 | "id": "roads_tunnels_minor", |
| 886 | "type": "line", |
| 887 | "source": "protomaps", |
| 888 | "source-layer": "roads", |
| 889 | "filter": [ |
| 890 | "all", |
| 891 | [ |
| 892 | "has", |
| 893 | "is_tunnel" |
| 894 | ], |
| 895 | [ |
| 896 | "==", |
| 897 | "kind", |
| 898 | "minor_road" |
| 899 | ] |
| 900 | ], |
| 901 | "paint": { |
| 902 | "line-color": "#d5d5d5", |
| 903 | "line-width": [ |
| 904 | "interpolate", |
| 905 | [ |
| 906 | "exponential", |
| 907 | 1.6 |
| 908 | ], |
| 909 | [ |
| 910 | "zoom" |
| 911 | ], |
| 912 | 11, |
| 913 | 0, |
| 914 | 12.5, |
| 915 | 0.5, |
| 916 | 15, |
| 917 | 2, |
| 918 | 18, |
| 919 | 11 |
| 920 | ] |
| 921 | } |
| 922 | }, |
| 923 | { |
| 924 | "id": "roads_tunnels_link", |
| 925 | "type": "line", |
| 926 | "source": "protomaps", |
| 927 | "source-layer": "roads", |
| 928 | "filter": [ |
| 929 | "all", |
| 930 | [ |
| 931 | "has", |
| 932 | "is_tunnel" |
| 933 | ], |
| 934 | [ |
| 935 | "has", |
| 936 | "is_link" |
| 937 | ] |
| 938 | ], |
| 939 | "paint": { |
| 940 | "line-color": "#d5d5d5", |
| 941 | "line-width": [ |
| 942 | "interpolate", |
| 943 | [ |
| 944 | "exponential", |
| 945 | 1.6 |
| 946 | ], |
| 947 | [ |
| 948 | "zoom" |
| 949 | ], |
| 950 | 13, |
| 951 | 0, |
| 952 | 13.5, |
| 953 | 1, |
| 954 | 18, |
| 955 | 11 |
| 956 | ] |
| 957 | } |
| 958 | }, |
| 959 | { |
| 960 | "id": "roads_tunnels_major", |
| 961 | "type": "line", |
| 962 | "source": "protomaps", |
| 963 | "source-layer": "roads", |
| 964 | "filter": [ |
| 965 | "all", |
| 966 | [ |
| 967 | "has", |
| 968 | "is_tunnel" |
| 969 | ], |
| 970 | [ |
| 971 | "==", |
| 972 | "kind", |
| 973 | "major_road" |
| 974 | ] |
| 975 | ], |
| 976 | "paint": { |
| 977 | "line-color": "#d5d5d5", |
| 978 | "line-width": [ |
| 979 | "interpolate", |
| 980 | [ |
| 981 | "exponential", |
| 982 | 1.6 |
| 983 | ], |
| 984 | [ |
| 985 | "zoom" |
| 986 | ], |
| 987 | 6, |
| 988 | 0, |
| 989 | 12, |
| 990 | 1.6, |
| 991 | 15, |
| 992 | 3, |
| 993 | 18, |
| 994 | 13 |
| 995 | ] |
| 996 | } |
| 997 | }, |
| 998 | { |
| 999 | "id": "roads_tunnels_highway", |
| 1000 | "type": "line", |
| 1001 | "source": "protomaps", |
| 1002 | "source-layer": "roads", |
| 1003 | "filter": [ |
| 1004 | "all", |
| 1005 | [ |
| 1006 | "has", |
| 1007 | "is_tunnel" |
| 1008 | ], |
| 1009 | [ |
| 1010 | "==", |
| 1011 | [ |
| 1012 | "get", |
| 1013 | "kind" |
| 1014 | ], |
| 1015 | "highway" |
| 1016 | ], |
| 1017 | [ |
| 1018 | "!", |
| 1019 | [ |
| 1020 | "has", |
| 1021 | "is_link" |
| 1022 | ] |
| 1023 | ] |
| 1024 | ], |
| 1025 | "paint": { |
| 1026 | "line-color": "#d5d5d5", |
| 1027 | "line-width": [ |
| 1028 | "interpolate", |
| 1029 | [ |
| 1030 | "exponential", |
| 1031 | 1.6 |
| 1032 | ], |
| 1033 | [ |
| 1034 | "zoom" |
| 1035 | ], |
| 1036 | 3, |
| 1037 | 0, |
| 1038 | 6, |
| 1039 | 1.1, |
| 1040 | 12, |
| 1041 | 1.6, |
| 1042 | 15, |
| 1043 | 5, |
| 1044 | 18, |
| 1045 | 15 |
| 1046 | ] |
| 1047 | } |
| 1048 | }, |
| 1049 | { |
| 1050 | "id": "buildings", |
| 1051 | "type": "fill", |
| 1052 | "source": "protomaps", |
| 1053 | "source-layer": "buildings", |
| 1054 | "filter": [ |
| 1055 | "in", |
| 1056 | "kind", |
| 1057 | "building", |
| 1058 | "building_part" |
| 1059 | ], |
| 1060 | "paint": { |
| 1061 | "fill-color": "#cccccc", |
| 1062 | "fill-opacity": 0.5 |
| 1063 | } |
| 1064 | }, |
| 1065 | { |
| 1066 | "id": "roads_pier", |
| 1067 | "type": "line", |
| 1068 | "source": "protomaps", |
| 1069 | "source-layer": "roads", |
| 1070 | "filter": [ |
| 1071 | "==", |
| 1072 | "kind_detail", |
| 1073 | "pier" |
| 1074 | ], |
| 1075 | "paint": { |
| 1076 | "line-color": "#e0e0e0", |
| 1077 | "line-width": [ |
| 1078 | "interpolate", |
| 1079 | [ |
| 1080 | "exponential", |
| 1081 | 1.6 |
| 1082 | ], |
| 1083 | [ |
| 1084 | "zoom" |
| 1085 | ], |
| 1086 | 12, |
| 1087 | 0, |
| 1088 | 12.5, |
| 1089 | 0.5, |
| 1090 | 20, |
| 1091 | 16 |
| 1092 | ] |
| 1093 | } |
| 1094 | }, |
| 1095 | { |
| 1096 | "id": "roads_minor_service_casing", |
| 1097 | "type": "line", |
| 1098 | "source": "protomaps", |
| 1099 | "source-layer": "roads", |
| 1100 | "minzoom": 13, |
| 1101 | "filter": [ |
| 1102 | "all", |
| 1103 | [ |
| 1104 | "!has", |
| 1105 | "is_tunnel" |
| 1106 | ], |
| 1107 | [ |
| 1108 | "!has", |
| 1109 | "is_bridge" |
| 1110 | ], |
| 1111 | [ |
| 1112 | "==", |
| 1113 | "kind", |
| 1114 | "minor_road" |
| 1115 | ], |
| 1116 | [ |
| 1117 | "==", |
| 1118 | "kind_detail", |
| 1119 | "service" |
| 1120 | ] |
| 1121 | ], |
| 1122 | "paint": { |
| 1123 | "line-color": "#e0e0e0", |
| 1124 | "line-gap-width": [ |
| 1125 | "interpolate", |
| 1126 | [ |
| 1127 | "exponential", |
| 1128 | 1.6 |
| 1129 | ], |
| 1130 | [ |
| 1131 | "zoom" |
| 1132 | ], |
| 1133 | 13, |
| 1134 | 0, |
| 1135 | 18, |
| 1136 | 8 |
| 1137 | ], |
| 1138 | "line-width": [ |
| 1139 | "interpolate", |
| 1140 | [ |
| 1141 | "exponential", |
| 1142 | 1.6 |
| 1143 | ], |
| 1144 | [ |
| 1145 | "zoom" |
| 1146 | ], |
| 1147 | 13, |
| 1148 | 0, |
| 1149 | 13.5, |
| 1150 | 0.8 |
| 1151 | ] |
| 1152 | } |
| 1153 | }, |
| 1154 | { |
| 1155 | "id": "roads_minor_casing", |
| 1156 | "type": "line", |
| 1157 | "source": "protomaps", |
| 1158 | "source-layer": "roads", |
| 1159 | "filter": [ |
| 1160 | "all", |
| 1161 | [ |
| 1162 | "!has", |
| 1163 | "is_tunnel" |
| 1164 | ], |
| 1165 | [ |
| 1166 | "!has", |
| 1167 | "is_bridge" |
| 1168 | ], |
| 1169 | [ |
| 1170 | "==", |
| 1171 | "kind", |
| 1172 | "minor_road" |
| 1173 | ], |
| 1174 | [ |
| 1175 | "!=", |
| 1176 | "kind_detail", |
| 1177 | "service" |
| 1178 | ] |
| 1179 | ], |
| 1180 | "paint": { |
| 1181 | "line-color": "#e0e0e0", |
| 1182 | "line-gap-width": [ |
| 1183 | "interpolate", |
| 1184 | [ |
| 1185 | "exponential", |
| 1186 | 1.6 |
| 1187 | ], |
| 1188 | [ |
| 1189 | "zoom" |
| 1190 | ], |
| 1191 | 11, |
| 1192 | 0, |
| 1193 | 12.5, |
| 1194 | 0.5, |
| 1195 | 15, |
| 1196 | 2, |
| 1197 | 18, |
| 1198 | 11 |
| 1199 | ], |
| 1200 | "line-width": [ |
| 1201 | "interpolate", |
| 1202 | [ |
| 1203 | "exponential", |
| 1204 | 1.6 |
| 1205 | ], |
| 1206 | [ |
| 1207 | "zoom" |
| 1208 | ], |
| 1209 | 12, |
| 1210 | 0, |
| 1211 | 12.5, |
| 1212 | 1 |
| 1213 | ] |
| 1214 | } |
| 1215 | }, |
| 1216 | { |
| 1217 | "id": "roads_link_casing", |
| 1218 | "type": "line", |
| 1219 | "source": "protomaps", |
| 1220 | "source-layer": "roads", |
| 1221 | "minzoom": 13, |
| 1222 | "filter": [ |
| 1223 | "has", |
| 1224 | "is_link" |
| 1225 | ], |
| 1226 | "paint": { |
| 1227 | "line-color": "#e0e0e0", |
| 1228 | "line-gap-width": [ |
| 1229 | "interpolate", |
| 1230 | [ |
| 1231 | "exponential", |
| 1232 | 1.6 |
| 1233 | ], |
| 1234 | [ |
| 1235 | "zoom" |
| 1236 | ], |
| 1237 | 13, |
| 1238 | 0, |
| 1239 | 13.5, |
| 1240 | 1, |
| 1241 | 18, |
| 1242 | 11 |
| 1243 | ], |
| 1244 | "line-width": [ |
| 1245 | "interpolate", |
| 1246 | [ |
| 1247 | "exponential", |
| 1248 | 1.6 |
| 1249 | ], |
| 1250 | [ |
| 1251 | "zoom" |
| 1252 | ], |
| 1253 | 13, |
| 1254 | 0, |
| 1255 | 13.5, |
| 1256 | 1.5 |
| 1257 | ] |
| 1258 | } |
| 1259 | }, |
| 1260 | { |
| 1261 | "id": "roads_major_casing_late", |
| 1262 | "type": "line", |
| 1263 | "source": "protomaps", |
| 1264 | "source-layer": "roads", |
| 1265 | "minzoom": 12, |
| 1266 | "filter": [ |
| 1267 | "all", |
| 1268 | [ |
| 1269 | "!has", |
| 1270 | "is_tunnel" |
| 1271 | ], |
| 1272 | [ |
| 1273 | "!has", |
| 1274 | "is_bridge" |
| 1275 | ], |
| 1276 | [ |
| 1277 | "==", |
| 1278 | "kind", |
| 1279 | "major_road" |
| 1280 | ] |
| 1281 | ], |
| 1282 | "paint": { |
| 1283 | "line-color": "#e0e0e0", |
| 1284 | "line-gap-width": [ |
| 1285 | "interpolate", |
| 1286 | [ |
| 1287 | "exponential", |
| 1288 | 1.6 |
| 1289 | ], |
| 1290 | [ |
| 1291 | "zoom" |
| 1292 | ], |
| 1293 | 6, |
| 1294 | 0, |
| 1295 | 12, |
| 1296 | 1.6, |
| 1297 | 15, |
| 1298 | 3, |
| 1299 | 18, |
| 1300 | 13 |
| 1301 | ], |
| 1302 | "line-width": [ |
| 1303 | "interpolate", |
| 1304 | [ |
| 1305 | "exponential", |
| 1306 | 1.6 |
| 1307 | ], |
| 1308 | [ |
| 1309 | "zoom" |
| 1310 | ], |
| 1311 | 9, |
| 1312 | 0, |
| 1313 | 9.5, |
| 1314 | 1 |
| 1315 | ] |
| 1316 | } |
| 1317 | }, |
| 1318 | { |
| 1319 | "id": "roads_highway_casing_late", |
| 1320 | "type": "line", |
| 1321 | "source": "protomaps", |
| 1322 | "source-layer": "roads", |
| 1323 | "minzoom": 12, |
| 1324 | "filter": [ |
| 1325 | "all", |
| 1326 | [ |
| 1327 | "!has", |
| 1328 | "is_tunnel" |
| 1329 | ], |
| 1330 | [ |
| 1331 | "!has", |
| 1332 | "is_bridge" |
| 1333 | ], |
| 1334 | [ |
| 1335 | "==", |
| 1336 | "kind", |
| 1337 | "highway" |
| 1338 | ], |
| 1339 | [ |
| 1340 | "!has", |
| 1341 | "is_link" |
| 1342 | ] |
| 1343 | ], |
| 1344 | "paint": { |
| 1345 | "line-color": "#e0e0e0", |
| 1346 | "line-gap-width": [ |
| 1347 | "interpolate", |
| 1348 | [ |
| 1349 | "exponential", |
| 1350 | 1.6 |
| 1351 | ], |
| 1352 | [ |
| 1353 | "zoom" |
| 1354 | ], |
| 1355 | 3, |
| 1356 | 0, |
| 1357 | 3.5, |
| 1358 | 0.5, |
| 1359 | 18, |
| 1360 | 15 |
| 1361 | ], |
| 1362 | "line-width": [ |
| 1363 | "interpolate", |
| 1364 | [ |
| 1365 | "exponential", |
| 1366 | 1.6 |
| 1367 | ], |
| 1368 | [ |
| 1369 | "zoom" |
| 1370 | ], |
| 1371 | 7, |
| 1372 | 0, |
| 1373 | 7.5, |
| 1374 | 1, |
| 1375 | 20, |
| 1376 | 15 |
| 1377 | ] |
| 1378 | } |
| 1379 | }, |
| 1380 | { |
| 1381 | "id": "roads_other", |
| 1382 | "type": "line", |
| 1383 | "source": "protomaps", |
| 1384 | "source-layer": "roads", |
| 1385 | "filter": [ |
| 1386 | "all", |
| 1387 | [ |
| 1388 | "!has", |
| 1389 | "is_tunnel" |
| 1390 | ], |
| 1391 | [ |
| 1392 | "!has", |
| 1393 | "is_bridge" |
| 1394 | ], |
| 1395 | [ |
| 1396 | "in", |
| 1397 | "kind", |
| 1398 | "other", |
| 1399 | "path" |
| 1400 | ], |
| 1401 | [ |
| 1402 | "!=", |
| 1403 | "kind_detail", |
| 1404 | "pier" |
| 1405 | ] |
| 1406 | ], |
| 1407 | "paint": { |
| 1408 | "line-color": "#ebebeb", |
| 1409 | "line-dasharray": [ |
| 1410 | 3, |
| 1411 | 1 |
| 1412 | ], |
| 1413 | "line-width": [ |
| 1414 | "interpolate", |
| 1415 | [ |
| 1416 | "exponential", |
| 1417 | 1.6 |
| 1418 | ], |
| 1419 | [ |
| 1420 | "zoom" |
| 1421 | ], |
| 1422 | 14, |
| 1423 | 0, |
| 1424 | 20, |
| 1425 | 7 |
| 1426 | ] |
| 1427 | } |
| 1428 | }, |
| 1429 | { |
| 1430 | "id": "roads_link", |
| 1431 | "type": "line", |
| 1432 | "source": "protomaps", |
| 1433 | "source-layer": "roads", |
| 1434 | "filter": [ |
| 1435 | "has", |
| 1436 | "is_link" |
| 1437 | ], |
| 1438 | "paint": { |
| 1439 | "line-color": "#ffffff", |
| 1440 | "line-width": [ |
| 1441 | "interpolate", |
| 1442 | [ |
| 1443 | "exponential", |
| 1444 | 1.6 |
| 1445 | ], |
| 1446 | [ |
| 1447 | "zoom" |
| 1448 | ], |
| 1449 | 13, |
| 1450 | 0, |
| 1451 | 13.5, |
| 1452 | 1, |
| 1453 | 18, |
| 1454 | 11 |
| 1455 | ] |
| 1456 | } |
| 1457 | }, |
| 1458 | { |
| 1459 | "id": "roads_minor_service", |
| 1460 | "type": "line", |
| 1461 | "source": "protomaps", |
| 1462 | "source-layer": "roads", |
| 1463 | "filter": [ |
| 1464 | "all", |
| 1465 | [ |
| 1466 | "!has", |
| 1467 | "is_tunnel" |
| 1468 | ], |
| 1469 | [ |
| 1470 | "!has", |
| 1471 | "is_bridge" |
| 1472 | ], |
| 1473 | [ |
| 1474 | "==", |
| 1475 | "kind", |
| 1476 | "minor_road" |
| 1477 | ], |
| 1478 | [ |
| 1479 | "==", |
| 1480 | "kind_detail", |
| 1481 | "service" |
| 1482 | ] |
| 1483 | ], |
| 1484 | "paint": { |
| 1485 | "line-color": "#ebebeb", |
| 1486 | "line-width": [ |
| 1487 | "interpolate", |
| 1488 | [ |
| 1489 | "exponential", |
| 1490 | 1.6 |
| 1491 | ], |
| 1492 | [ |
| 1493 | "zoom" |
| 1494 | ], |
| 1495 | 13, |
| 1496 | 0, |
| 1497 | 18, |
| 1498 | 8 |
| 1499 | ] |
| 1500 | } |
| 1501 | }, |
| 1502 | { |
| 1503 | "id": "roads_minor", |
| 1504 | "type": "line", |
| 1505 | "source": "protomaps", |
| 1506 | "source-layer": "roads", |
| 1507 | "filter": [ |
| 1508 | "all", |
| 1509 | [ |
| 1510 | "!has", |
| 1511 | "is_tunnel" |
| 1512 | ], |
| 1513 | [ |
| 1514 | "!has", |
| 1515 | "is_bridge" |
| 1516 | ], |
| 1517 | [ |
| 1518 | "==", |
| 1519 | "kind", |
| 1520 | "minor_road" |
| 1521 | ], |
| 1522 | [ |
| 1523 | "!=", |
| 1524 | "kind_detail", |
| 1525 | "service" |
| 1526 | ] |
| 1527 | ], |
| 1528 | "paint": { |
| 1529 | "line-color": [ |
| 1530 | "interpolate", |
| 1531 | [ |
| 1532 | "exponential", |
| 1533 | 1.6 |
| 1534 | ], |
| 1535 | [ |
| 1536 | "zoom" |
| 1537 | ], |
| 1538 | 11, |
| 1539 | "#ebebeb", |
| 1540 | 16, |
| 1541 | "#ffffff" |
| 1542 | ], |
| 1543 | "line-width": [ |
| 1544 | "interpolate", |
| 1545 | [ |
| 1546 | "exponential", |
| 1547 | 1.6 |
| 1548 | ], |
| 1549 | [ |
| 1550 | "zoom" |
| 1551 | ], |
| 1552 | 11, |
| 1553 | 0, |
| 1554 | 12.5, |
| 1555 | 0.5, |
| 1556 | 15, |
| 1557 | 2, |
| 1558 | 18, |
| 1559 | 11 |
| 1560 | ] |
| 1561 | } |
| 1562 | }, |
| 1563 | { |
| 1564 | "id": "roads_major_casing_early", |
| 1565 | "type": "line", |
| 1566 | "source": "protomaps", |
| 1567 | "source-layer": "roads", |
| 1568 | "maxzoom": 12, |
| 1569 | "filter": [ |
| 1570 | "all", |
| 1571 | [ |
| 1572 | "!has", |
| 1573 | "is_tunnel" |
| 1574 | ], |
| 1575 | [ |
| 1576 | "!has", |
| 1577 | "is_bridge" |
| 1578 | ], |
| 1579 | [ |
| 1580 | "==", |
| 1581 | "kind", |
| 1582 | "major_road" |
| 1583 | ] |
| 1584 | ], |
| 1585 | "paint": { |
| 1586 | "line-color": "#e0e0e0", |
| 1587 | "line-gap-width": [ |
| 1588 | "interpolate", |
| 1589 | [ |
| 1590 | "exponential", |
| 1591 | 1.6 |
| 1592 | ], |
| 1593 | [ |
| 1594 | "zoom" |
| 1595 | ], |
| 1596 | 7, |
| 1597 | 0, |
| 1598 | 7.5, |
| 1599 | 0.5, |
| 1600 | 18, |
| 1601 | 13 |
| 1602 | ], |
| 1603 | "line-width": [ |
| 1604 | "interpolate", |
| 1605 | [ |
| 1606 | "exponential", |
| 1607 | 1.6 |
| 1608 | ], |
| 1609 | [ |
| 1610 | "zoom" |
| 1611 | ], |
| 1612 | 9, |
| 1613 | 0, |
| 1614 | 9.5, |
| 1615 | 1 |
| 1616 | ] |
| 1617 | } |
| 1618 | }, |
| 1619 | { |
| 1620 | "id": "roads_major", |
| 1621 | "type": "line", |
| 1622 | "source": "protomaps", |
| 1623 | "source-layer": "roads", |
| 1624 | "filter": [ |
| 1625 | "all", |
| 1626 | [ |
| 1627 | "!has", |
| 1628 | "is_tunnel" |
| 1629 | ], |
| 1630 | [ |
| 1631 | "!has", |
| 1632 | "is_bridge" |
| 1633 | ], |
| 1634 | [ |
| 1635 | "==", |
| 1636 | "kind", |
| 1637 | "major_road" |
| 1638 | ] |
| 1639 | ], |
| 1640 | "paint": { |
| 1641 | "line-color": "#ffffff", |
| 1642 | "line-width": [ |
| 1643 | "interpolate", |
| 1644 | [ |
| 1645 | "exponential", |
| 1646 | 1.6 |
| 1647 | ], |
| 1648 | [ |
| 1649 | "zoom" |
| 1650 | ], |
| 1651 | 6, |
| 1652 | 0, |
| 1653 | 12, |
| 1654 | 1.6, |
| 1655 | 15, |
| 1656 | 3, |
| 1657 | 18, |
| 1658 | 13 |
| 1659 | ] |
| 1660 | } |
| 1661 | }, |
| 1662 | { |
| 1663 | "id": "roads_highway_casing_early", |
| 1664 | "type": "line", |
| 1665 | "source": "protomaps", |
| 1666 | "source-layer": "roads", |
| 1667 | "maxzoom": 12, |
| 1668 | "filter": [ |
| 1669 | "all", |
| 1670 | [ |
| 1671 | "!has", |
| 1672 | "is_tunnel" |
| 1673 | ], |
| 1674 | [ |
| 1675 | "!has", |
| 1676 | "is_bridge" |
| 1677 | ], |
| 1678 | [ |
| 1679 | "==", |
| 1680 | "kind", |
| 1681 | "highway" |
| 1682 | ], |
| 1683 | [ |
| 1684 | "!has", |
| 1685 | "is_link" |
| 1686 | ] |
| 1687 | ], |
| 1688 | "paint": { |
| 1689 | "line-color": "#e0e0e0", |
| 1690 | "line-gap-width": [ |
| 1691 | "interpolate", |
| 1692 | [ |
| 1693 | "exponential", |
| 1694 | 1.6 |
| 1695 | ], |
| 1696 | [ |
| 1697 | "zoom" |
| 1698 | ], |
| 1699 | 3, |
| 1700 | 0, |
| 1701 | 3.5, |
| 1702 | 0.5, |
| 1703 | 18, |
| 1704 | 15 |
| 1705 | ], |
| 1706 | "line-width": [ |
| 1707 | "interpolate", |
| 1708 | [ |
| 1709 | "exponential", |
| 1710 | 1.6 |
| 1711 | ], |
| 1712 | [ |
| 1713 | "zoom" |
| 1714 | ], |
| 1715 | 7, |
| 1716 | 0, |
| 1717 | 7.5, |
| 1718 | 1 |
| 1719 | ] |
| 1720 | } |
| 1721 | }, |
| 1722 | { |
| 1723 | "id": "roads_highway", |
| 1724 | "type": "line", |
| 1725 | "source": "protomaps", |
| 1726 | "source-layer": "roads", |
| 1727 | "filter": [ |
| 1728 | "all", |
| 1729 | [ |
| 1730 | "!has", |
| 1731 | "is_tunnel" |
| 1732 | ], |
| 1733 | [ |
| 1734 | "!has", |
| 1735 | "is_bridge" |
| 1736 | ], |
| 1737 | [ |
| 1738 | "==", |
| 1739 | "kind", |
| 1740 | "highway" |
| 1741 | ], |
| 1742 | [ |
| 1743 | "!has", |
| 1744 | "is_link" |
| 1745 | ] |
| 1746 | ], |
| 1747 | "paint": { |
| 1748 | "line-color": "#ffffff", |
| 1749 | "line-width": [ |
| 1750 | "interpolate", |
| 1751 | [ |
| 1752 | "exponential", |
| 1753 | 1.6 |
| 1754 | ], |
| 1755 | [ |
| 1756 | "zoom" |
| 1757 | ], |
| 1758 | 3, |
| 1759 | 0, |
| 1760 | 6, |
| 1761 | 1.1, |
| 1762 | 12, |
| 1763 | 1.6, |
| 1764 | 15, |
| 1765 | 5, |
| 1766 | 18, |
| 1767 | 15 |
| 1768 | ] |
| 1769 | } |
| 1770 | }, |
| 1771 | { |
| 1772 | "id": "roads_rail", |
| 1773 | "type": "line", |
| 1774 | "source": "protomaps", |
| 1775 | "source-layer": "roads", |
| 1776 | "filter": [ |
| 1777 | "==", |
| 1778 | "kind", |
| 1779 | "rail" |
| 1780 | ], |
| 1781 | "paint": { |
| 1782 | "line-dasharray": [ |
| 1783 | 0.3, |
| 1784 | 0.75 |
| 1785 | ], |
| 1786 | "line-opacity": 0.5, |
| 1787 | "line-color": "#a7b1b3", |
| 1788 | "line-width": [ |
| 1789 | "interpolate", |
| 1790 | [ |
| 1791 | "exponential", |
| 1792 | 1.6 |
| 1793 | ], |
| 1794 | [ |
| 1795 | "zoom" |
| 1796 | ], |
| 1797 | 3, |
| 1798 | 0, |
| 1799 | 6, |
| 1800 | 0.15, |
| 1801 | 18, |
| 1802 | 9 |
| 1803 | ] |
| 1804 | } |
| 1805 | }, |
| 1806 | { |
| 1807 | "id": "boundaries_country", |
| 1808 | "type": "line", |
| 1809 | "source": "protomaps", |
| 1810 | "source-layer": "boundaries", |
| 1811 | "filter": [ |
| 1812 | "<=", |
| 1813 | "kind_detail", |
| 1814 | 2 |
| 1815 | ], |
| 1816 | "paint": { |
| 1817 | "line-color": "#adadad", |
| 1818 | "line-width": 0.7, |
| 1819 | "line-dasharray": [ |
| 1820 | "step", |
| 1821 | [ |
| 1822 | "zoom" |
| 1823 | ], |
| 1824 | [ |
| 1825 | "literal", |
| 1826 | [ |
| 1827 | 2, |
| 1828 | 0 |
| 1829 | ] |
| 1830 | ], |
| 1831 | 4, |
| 1832 | [ |
| 1833 | "literal", |
| 1834 | [ |
| 1835 | 2, |
| 1836 | 1 |
| 1837 | ] |
| 1838 | ] |
| 1839 | ] |
| 1840 | } |
| 1841 | }, |
| 1842 | { |
| 1843 | "id": "boundaries", |
| 1844 | "type": "line", |
| 1845 | "source": "protomaps", |
| 1846 | "source-layer": "boundaries", |
| 1847 | "filter": [ |
| 1848 | ">", |
| 1849 | "kind_detail", |
| 1850 | 2 |
| 1851 | ], |
| 1852 | "paint": { |
| 1853 | "line-color": "#adadad", |
| 1854 | "line-width": 0.4, |
| 1855 | "line-dasharray": [ |
| 1856 | "step", |
| 1857 | [ |
| 1858 | "zoom" |
| 1859 | ], |
| 1860 | [ |
| 1861 | "literal", |
| 1862 | [ |
| 1863 | 2, |
| 1864 | 0 |
| 1865 | ] |
| 1866 | ], |
| 1867 | 4, |
| 1868 | [ |
| 1869 | "literal", |
| 1870 | [ |
| 1871 | 2, |
| 1872 | 1 |
| 1873 | ] |
| 1874 | ] |
| 1875 | ] |
| 1876 | } |
| 1877 | }, |
| 1878 | { |
| 1879 | "id": "roads_bridges_other_casing", |
| 1880 | "type": "line", |
| 1881 | "source": "protomaps", |
| 1882 | "source-layer": "roads", |
| 1883 | "minzoom": 12, |
| 1884 | "filter": [ |
| 1885 | "all", |
| 1886 | [ |
| 1887 | "has", |
| 1888 | "is_bridge" |
| 1889 | ], |
| 1890 | [ |
| 1891 | "in", |
| 1892 | "kind", |
| 1893 | "other", |
| 1894 | "path" |
| 1895 | ] |
| 1896 | ], |
| 1897 | "paint": { |
| 1898 | "line-color": "#e0e0e0", |
| 1899 | "line-gap-width": [ |
| 1900 | "interpolate", |
| 1901 | [ |
| 1902 | "exponential", |
| 1903 | 1.6 |
| 1904 | ], |
| 1905 | [ |
| 1906 | "zoom" |
| 1907 | ], |
| 1908 | 14, |
| 1909 | 0, |
| 1910 | 20, |
| 1911 | 7 |
| 1912 | ] |
| 1913 | } |
| 1914 | }, |
| 1915 | { |
| 1916 | "id": "roads_bridges_link_casing", |
| 1917 | "type": "line", |
| 1918 | "source": "protomaps", |
| 1919 | "source-layer": "roads", |
| 1920 | "minzoom": 12, |
| 1921 | "filter": [ |
| 1922 | "all", |
| 1923 | [ |
| 1924 | "has", |
| 1925 | "is_bridge" |
| 1926 | ], |
| 1927 | [ |
| 1928 | "has", |
| 1929 | "is_link" |
| 1930 | ] |
| 1931 | ], |
| 1932 | "paint": { |
| 1933 | "line-color": "#e0e0e0", |
| 1934 | "line-gap-width": [ |
| 1935 | "interpolate", |
| 1936 | [ |
| 1937 | "exponential", |
| 1938 | 1.6 |
| 1939 | ], |
| 1940 | [ |
| 1941 | "zoom" |
| 1942 | ], |
| 1943 | 13, |
| 1944 | 0, |
| 1945 | 13.5, |
| 1946 | 1, |
| 1947 | 18, |
| 1948 | 11 |
| 1949 | ], |
| 1950 | "line-width": [ |
| 1951 | "interpolate", |
| 1952 | [ |
| 1953 | "exponential", |
| 1954 | 1.6 |
| 1955 | ], |
| 1956 | [ |
| 1957 | "zoom" |
| 1958 | ], |
| 1959 | 12, |
| 1960 | 0, |
| 1961 | 12.5, |
| 1962 | 1.5 |
| 1963 | ] |
| 1964 | } |
| 1965 | }, |
| 1966 | { |
| 1967 | "id": "roads_bridges_minor_casing", |
| 1968 | "type": "line", |
| 1969 | "source": "protomaps", |
| 1970 | "source-layer": "roads", |
| 1971 | "minzoom": 12, |
| 1972 | "filter": [ |
| 1973 | "all", |
| 1974 | [ |
| 1975 | "has", |
| 1976 | "is_bridge" |
| 1977 | ], |
| 1978 | [ |
| 1979 | "==", |
| 1980 | "kind", |
| 1981 | "minor_road" |
| 1982 | ] |
| 1983 | ], |
| 1984 | "paint": { |
| 1985 | "line-color": "#e0e0e0", |
| 1986 | "line-gap-width": [ |
| 1987 | "interpolate", |
| 1988 | [ |
| 1989 | "exponential", |
| 1990 | 1.6 |
| 1991 | ], |
| 1992 | [ |
| 1993 | "zoom" |
| 1994 | ], |
| 1995 | 11, |
| 1996 | 0, |
| 1997 | 12.5, |
| 1998 | 0.5, |
| 1999 | 15, |
| 2000 | 2, |
| 2001 | 18, |
| 2002 | 11 |
| 2003 | ], |
| 2004 | "line-width": [ |
| 2005 | "interpolate", |
| 2006 | [ |
| 2007 | "exponential", |
| 2008 | 1.6 |
| 2009 | ], |
| 2010 | [ |
| 2011 | "zoom" |
| 2012 | ], |
| 2013 | 13, |
| 2014 | 0, |
| 2015 | 13.5, |
| 2016 | 0.8 |
| 2017 | ] |
| 2018 | } |
| 2019 | }, |
| 2020 | { |
| 2021 | "id": "roads_bridges_major_casing", |
| 2022 | "type": "line", |
| 2023 | "source": "protomaps", |
| 2024 | "source-layer": "roads", |
| 2025 | "minzoom": 12, |
| 2026 | "filter": [ |
| 2027 | "all", |
| 2028 | [ |
| 2029 | "has", |
| 2030 | "is_bridge" |
| 2031 | ], |
| 2032 | [ |
| 2033 | "==", |
| 2034 | "kind", |
| 2035 | "major_road" |
| 2036 | ] |
| 2037 | ], |
| 2038 | "paint": { |
| 2039 | "line-color": "#e0e0e0", |
| 2040 | "line-gap-width": [ |
| 2041 | "interpolate", |
| 2042 | [ |
| 2043 | "exponential", |
| 2044 | 1.6 |
| 2045 | ], |
| 2046 | [ |
| 2047 | "zoom" |
| 2048 | ], |
| 2049 | 7, |
| 2050 | 0, |
| 2051 | 7.5, |
| 2052 | 0.5, |
| 2053 | 18, |
| 2054 | 10 |
| 2055 | ], |
| 2056 | "line-width": [ |
| 2057 | "interpolate", |
| 2058 | [ |
| 2059 | "exponential", |
| 2060 | 1.6 |
| 2061 | ], |
| 2062 | [ |
| 2063 | "zoom" |
| 2064 | ], |
| 2065 | 9, |
| 2066 | 0, |
| 2067 | 9.5, |
| 2068 | 1.5 |
| 2069 | ] |
| 2070 | } |
| 2071 | }, |
| 2072 | { |
| 2073 | "id": "roads_bridges_other", |
| 2074 | "type": "line", |
| 2075 | "source": "protomaps", |
| 2076 | "source-layer": "roads", |
| 2077 | "minzoom": 12, |
| 2078 | "filter": [ |
| 2079 | "all", |
| 2080 | [ |
| 2081 | "has", |
| 2082 | "is_bridge" |
| 2083 | ], |
| 2084 | [ |
| 2085 | "in", |
| 2086 | "kind", |
| 2087 | "other", |
| 2088 | "path" |
| 2089 | ] |
| 2090 | ], |
| 2091 | "paint": { |
| 2092 | "line-color": "#ebebeb", |
| 2093 | "line-dasharray": [ |
| 2094 | 2, |
| 2095 | 1 |
| 2096 | ], |
| 2097 | "line-width": [ |
| 2098 | "interpolate", |
| 2099 | [ |
| 2100 | "exponential", |
| 2101 | 1.6 |
| 2102 | ], |
| 2103 | [ |
| 2104 | "zoom" |
| 2105 | ], |
| 2106 | 14, |
| 2107 | 0, |
| 2108 | 20, |
| 2109 | 7 |
| 2110 | ] |
| 2111 | } |
| 2112 | }, |
| 2113 | { |
| 2114 | "id": "roads_bridges_minor", |
| 2115 | "type": "line", |
| 2116 | "source": "protomaps", |
| 2117 | "source-layer": "roads", |
| 2118 | "minzoom": 12, |
| 2119 | "filter": [ |
| 2120 | "all", |
| 2121 | [ |
| 2122 | "has", |
| 2123 | "is_bridge" |
| 2124 | ], |
| 2125 | [ |
| 2126 | "==", |
| 2127 | "kind", |
| 2128 | "minor_road" |
| 2129 | ] |
| 2130 | ], |
| 2131 | "paint": { |
| 2132 | "line-color": "#ffffff", |
| 2133 | "line-width": [ |
| 2134 | "interpolate", |
| 2135 | [ |
| 2136 | "exponential", |
| 2137 | 1.6 |
| 2138 | ], |
| 2139 | [ |
| 2140 | "zoom" |
| 2141 | ], |
| 2142 | 11, |
| 2143 | 0, |
| 2144 | 12.5, |
| 2145 | 0.5, |
| 2146 | 15, |
| 2147 | 2, |
| 2148 | 18, |
| 2149 | 11 |
| 2150 | ] |
| 2151 | } |
| 2152 | }, |
| 2153 | { |
| 2154 | "id": "roads_bridges_link", |
| 2155 | "type": "line", |
| 2156 | "source": "protomaps", |
| 2157 | "source-layer": "roads", |
| 2158 | "minzoom": 12, |
| 2159 | "filter": [ |
| 2160 | "all", |
| 2161 | [ |
| 2162 | "has", |
| 2163 | "is_bridge" |
| 2164 | ], |
| 2165 | [ |
| 2166 | "has", |
| 2167 | "is_link" |
| 2168 | ] |
| 2169 | ], |
| 2170 | "paint": { |
| 2171 | "line-color": "#ffffff", |
| 2172 | "line-width": [ |
| 2173 | "interpolate", |
| 2174 | [ |
| 2175 | "exponential", |
| 2176 | 1.6 |
| 2177 | ], |
| 2178 | [ |
| 2179 | "zoom" |
| 2180 | ], |
| 2181 | 13, |
| 2182 | 0, |
| 2183 | 13.5, |
| 2184 | 1, |
| 2185 | 18, |
| 2186 | 11 |
| 2187 | ] |
| 2188 | } |
| 2189 | }, |
| 2190 | { |
| 2191 | "id": "roads_bridges_major", |
| 2192 | "type": "line", |
| 2193 | "source": "protomaps", |
| 2194 | "source-layer": "roads", |
| 2195 | "minzoom": 12, |
| 2196 | "filter": [ |
| 2197 | "all", |
| 2198 | [ |
| 2199 | "has", |
| 2200 | "is_bridge" |
| 2201 | ], |
| 2202 | [ |
| 2203 | "==", |
| 2204 | "kind", |
| 2205 | "major_road" |
| 2206 | ] |
| 2207 | ], |
| 2208 | "paint": { |
| 2209 | "line-color": "#f5f5f5", |
| 2210 | "line-width": [ |
| 2211 | "interpolate", |
| 2212 | [ |
| 2213 | "exponential", |
| 2214 | 1.6 |
| 2215 | ], |
| 2216 | [ |
| 2217 | "zoom" |
| 2218 | ], |
| 2219 | 6, |
| 2220 | 0, |
| 2221 | 12, |
| 2222 | 1.6, |
| 2223 | 15, |
| 2224 | 3, |
| 2225 | 18, |
| 2226 | 13 |
| 2227 | ] |
| 2228 | } |
| 2229 | }, |
| 2230 | { |
| 2231 | "id": "roads_bridges_highway_casing", |
| 2232 | "type": "line", |
| 2233 | "source": "protomaps", |
| 2234 | "source-layer": "roads", |
| 2235 | "minzoom": 12, |
| 2236 | "filter": [ |
| 2237 | "all", |
| 2238 | [ |
| 2239 | "has", |
| 2240 | "is_bridge" |
| 2241 | ], |
| 2242 | [ |
| 2243 | "==", |
| 2244 | "kind", |
| 2245 | "highway" |
| 2246 | ], |
| 2247 | [ |
| 2248 | "!has", |
| 2249 | "is_link" |
| 2250 | ] |
| 2251 | ], |
| 2252 | "paint": { |
| 2253 | "line-color": "#e0e0e0", |
| 2254 | "line-gap-width": [ |
| 2255 | "interpolate", |
| 2256 | [ |
| 2257 | "exponential", |
| 2258 | 1.6 |
| 2259 | ], |
| 2260 | [ |
| 2261 | "zoom" |
| 2262 | ], |
| 2263 | 3, |
| 2264 | 0, |
| 2265 | 3.5, |
| 2266 | 0.5, |
| 2267 | 18, |
| 2268 | 15 |
| 2269 | ], |
| 2270 | "line-width": [ |
| 2271 | "interpolate", |
| 2272 | [ |
| 2273 | "exponential", |
| 2274 | 1.6 |
| 2275 | ], |
| 2276 | [ |
| 2277 | "zoom" |
| 2278 | ], |
| 2279 | 7, |
| 2280 | 0, |
| 2281 | 7.5, |
| 2282 | 1, |
| 2283 | 20, |
| 2284 | 15 |
| 2285 | ] |
| 2286 | } |
| 2287 | }, |
| 2288 | { |
| 2289 | "id": "roads_bridges_highway", |
| 2290 | "type": "line", |
| 2291 | "source": "protomaps", |
| 2292 | "source-layer": "roads", |
| 2293 | "filter": [ |
| 2294 | "all", |
| 2295 | [ |
| 2296 | "has", |
| 2297 | "is_bridge" |
| 2298 | ], |
| 2299 | [ |
| 2300 | "==", |
| 2301 | "kind", |
| 2302 | "highway" |
| 2303 | ], |
| 2304 | [ |
| 2305 | "!has", |
| 2306 | "is_link" |
| 2307 | ] |
| 2308 | ], |
| 2309 | "paint": { |
| 2310 | "line-color": "#ffffff", |
| 2311 | "line-width": [ |
| 2312 | "interpolate", |
| 2313 | [ |
| 2314 | "exponential", |
| 2315 | 1.6 |
| 2316 | ], |
| 2317 | [ |
| 2318 | "zoom" |
| 2319 | ], |
| 2320 | 3, |
| 2321 | 0, |
| 2322 | 6, |
| 2323 | 1.1, |
| 2324 | 12, |
| 2325 | 1.6, |
| 2326 | 15, |
| 2327 | 5, |
| 2328 | 18, |
| 2329 | 15 |
| 2330 | ] |
| 2331 | } |
| 2332 | }, |
| 2333 | { |
| 2334 | "id": "address_label", |
| 2335 | "type": "symbol", |
| 2336 | "source": "protomaps", |
| 2337 | "source-layer": "buildings", |
| 2338 | "minzoom": 18, |
| 2339 | "filter": [ |
| 2340 | "==", |
| 2341 | "kind", |
| 2342 | "address" |
| 2343 | ], |
| 2344 | "layout": { |
| 2345 | "symbol-placement": "point", |
| 2346 | "text-font": [ |
| 2347 | "Noto Sans Italic" |
| 2348 | ], |
| 2349 | "text-field": [ |
| 2350 | "get", |
| 2351 | "addr_housenumber" |
| 2352 | ], |
| 2353 | "text-size": 12 |
| 2354 | }, |
| 2355 | "paint": { |
| 2356 | "text-color": "#91888b", |
| 2357 | "text-halo-color": "#ffffff", |
| 2358 | "text-halo-width": 1 |
| 2359 | } |
| 2360 | }, |
| 2361 | { |
| 2362 | "id": "water_waterway_label", |
| 2363 | "type": "symbol", |
| 2364 | "source": "protomaps", |
| 2365 | "source-layer": "water", |
| 2366 | "minzoom": 13, |
| 2367 | "filter": [ |
| 2368 | "in", |
| 2369 | "kind", |
| 2370 | "river", |
| 2371 | "stream" |
| 2372 | ], |
| 2373 | "layout": { |
| 2374 | "symbol-placement": "line", |
| 2375 | "text-font": [ |
| 2376 | "Noto Sans Italic" |
| 2377 | ], |
| 2378 | "text-field": [ |
| 2379 | "coalesce", |
| 2380 | [ |
| 2381 | "get", |
| 2382 | "name:en" |
| 2383 | ], |
| 2384 | [ |
| 2385 | "get", |
| 2386 | "name" |
| 2387 | ], |
| 2388 | [ |
| 2389 | "get", |
| 2390 | "pgf:name" |
| 2391 | ], |
| 2392 | "" |
| 2393 | ], |
| 2394 | "text-size": 12, |
| 2395 | "text-letter-spacing": 0.2 |
| 2396 | }, |
| 2397 | "paint": { |
| 2398 | "text-color": "#728dd4", |
| 2399 | "text-halo-color": "#80deea", |
| 2400 | "text-halo-width": 1 |
| 2401 | } |
| 2402 | }, |
| 2403 | { |
| 2404 | "id": "roads_oneway", |
| 2405 | "type": "symbol", |
| 2406 | "source": "protomaps", |
| 2407 | "source-layer": "roads", |
| 2408 | "minzoom": 16, |
| 2409 | "filter": [ |
| 2410 | "==", |
| 2411 | [ |
| 2412 | "get", |
| 2413 | "oneway" |
| 2414 | ], |
| 2415 | "yes" |
| 2416 | ], |
| 2417 | "layout": { |
| 2418 | "symbol-placement": "line", |
| 2419 | "icon-image": "arrow", |
| 2420 | "icon-rotate": 90, |
| 2421 | "symbol-spacing": 100 |
| 2422 | } |
| 2423 | }, |
| 2424 | { |
| 2425 | "id": "roads_labels_minor", |
| 2426 | "type": "symbol", |
| 2427 | "source": "protomaps", |
| 2428 | "source-layer": "roads", |
| 2429 | "minzoom": 15, |
| 2430 | "filter": [ |
| 2431 | "in", |
| 2432 | "kind", |
| 2433 | "minor_road", |
| 2434 | "other", |
| 2435 | "path" |
| 2436 | ], |
| 2437 | "layout": { |
| 2438 | "symbol-sort-key": [ |
| 2439 | "get", |
| 2440 | "min_zoom" |
| 2441 | ], |
| 2442 | "symbol-placement": "line", |
| 2443 | "text-font": [ |
| 2444 | "Noto Sans Regular" |
| 2445 | ], |
| 2446 | "text-field": [ |
| 2447 | "coalesce", |
| 2448 | [ |
| 2449 | "get", |
| 2450 | "name:en" |
| 2451 | ], |
| 2452 | [ |
| 2453 | "get", |
| 2454 | "name" |
| 2455 | ], |
| 2456 | [ |
| 2457 | "get", |
| 2458 | "pgf:name" |
| 2459 | ], |
| 2460 | "" |
| 2461 | ], |
| 2462 | "text-size": 12 |
| 2463 | }, |
| 2464 | "paint": { |
| 2465 | "text-color": "#91888b", |
| 2466 | "text-halo-color": "#ffffff", |
| 2467 | "text-halo-width": 1 |
| 2468 | } |
| 2469 | }, |
| 2470 | { |
| 2471 | "id": "water_label_ocean", |
| 2472 | "type": "symbol", |
| 2473 | "source": "protomaps", |
| 2474 | "source-layer": "water", |
| 2475 | "filter": [ |
| 2476 | "in", |
| 2477 | "kind", |
| 2478 | "sea", |
| 2479 | "ocean", |
| 2480 | "bay", |
| 2481 | "strait", |
| 2482 | "fjord" |
| 2483 | ], |
| 2484 | "layout": { |
| 2485 | "text-font": [ |
| 2486 | "Noto Sans Italic" |
| 2487 | ], |
| 2488 | "text-field": [ |
| 2489 | "coalesce", |
| 2490 | [ |
| 2491 | "get", |
| 2492 | "name:en" |
| 2493 | ], |
| 2494 | [ |
| 2495 | "get", |
| 2496 | "name" |
| 2497 | ], |
| 2498 | [ |
| 2499 | "get", |
| 2500 | "pgf:name" |
| 2501 | ], |
| 2502 | "" |
| 2503 | ], |
| 2504 | "text-size": [ |
| 2505 | "interpolate", |
| 2506 | [ |
| 2507 | "linear" |
| 2508 | ], |
| 2509 | [ |
| 2510 | "zoom" |
| 2511 | ], |
| 2512 | 3, |
| 2513 | 10, |
| 2514 | 10, |
| 2515 | 12 |
| 2516 | ], |
| 2517 | "text-letter-spacing": 0.1, |
| 2518 | "text-max-width": 9, |
| 2519 | "text-transform": "uppercase" |
| 2520 | }, |
| 2521 | "paint": { |
| 2522 | "text-color": "#728dd4", |
| 2523 | "text-halo-width": 1, |
| 2524 | "text-halo-color": "#80deea" |
| 2525 | } |
| 2526 | }, |
| 2527 | { |
| 2528 | "id": "earth_label_islands", |
| 2529 | "type": "symbol", |
| 2530 | "source": "protomaps", |
| 2531 | "source-layer": "earth", |
| 2532 | "filter": [ |
| 2533 | "in", |
| 2534 | "kind", |
| 2535 | "island" |
| 2536 | ], |
| 2537 | "layout": { |
| 2538 | "text-font": [ |
| 2539 | "Noto Sans Italic" |
| 2540 | ], |
| 2541 | "text-field": [ |
| 2542 | "coalesce", |
| 2543 | [ |
| 2544 | "get", |
| 2545 | "name:en" |
| 2546 | ], |
| 2547 | [ |
| 2548 | "get", |
| 2549 | "name" |
| 2550 | ], |
| 2551 | [ |
| 2552 | "get", |
| 2553 | "pgf:name" |
| 2554 | ], |
| 2555 | "" |
| 2556 | ], |
| 2557 | "text-size": 10, |
| 2558 | "text-letter-spacing": 0.1, |
| 2559 | "text-max-width": 8 |
| 2560 | }, |
| 2561 | "paint": { |
| 2562 | "text-color": "#8f8f8f", |
| 2563 | "text-halo-color": "#e0e0e0", |
| 2564 | "text-halo-width": 1 |
| 2565 | } |
| 2566 | }, |
| 2567 | { |
| 2568 | "id": "water_label_lakes", |
| 2569 | "type": "symbol", |
| 2570 | "source": "protomaps", |
| 2571 | "source-layer": "water", |
| 2572 | "filter": [ |
| 2573 | "in", |
| 2574 | "kind", |
| 2575 | "lake", |
| 2576 | "water" |
| 2577 | ], |
| 2578 | "layout": { |
| 2579 | "text-font": [ |
| 2580 | "Noto Sans Italic" |
| 2581 | ], |
| 2582 | "text-field": [ |
| 2583 | "coalesce", |
| 2584 | [ |
| 2585 | "get", |
| 2586 | "name:en" |
| 2587 | ], |
| 2588 | [ |
| 2589 | "get", |
| 2590 | "name" |
| 2591 | ], |
| 2592 | [ |
| 2593 | "get", |
| 2594 | "pgf:name" |
| 2595 | ], |
| 2596 | "" |
| 2597 | ], |
| 2598 | "text-size": [ |
| 2599 | "interpolate", |
| 2600 | [ |
| 2601 | "linear" |
| 2602 | ], |
| 2603 | [ |
| 2604 | "zoom" |
| 2605 | ], |
| 2606 | 3, |
| 2607 | 10, |
| 2608 | 6, |
| 2609 | 12, |
| 2610 | 10, |
| 2611 | 12 |
| 2612 | ], |
| 2613 | "text-letter-spacing": 0.1, |
| 2614 | "text-max-width": 9 |
| 2615 | }, |
| 2616 | "paint": { |
| 2617 | "text-color": "#728dd4", |
| 2618 | "text-halo-color": "#80deea", |
| 2619 | "text-halo-width": 1 |
| 2620 | } |
| 2621 | }, |
| 2622 | { |
| 2623 | "id": "roads_shields", |
| 2624 | "type": "symbol", |
| 2625 | "source": "protomaps", |
| 2626 | "source-layer": "roads", |
| 2627 | "filter": [ |
| 2628 | "all", |
| 2629 | [ |
| 2630 | "in", |
| 2631 | [ |
| 2632 | "get", |
| 2633 | "kind" |
| 2634 | ], |
| 2635 | [ |
| 2636 | "literal", |
| 2637 | [ |
| 2638 | "highway", |
| 2639 | "major_road" |
| 2640 | ] |
| 2641 | ] |
| 2642 | ], |
| 2643 | [ |
| 2644 | "has", |
| 2645 | "shield_text" |
| 2646 | ], |
| 2647 | [ |
| 2648 | "<=", |
| 2649 | [ |
| 2650 | "length", |
| 2651 | [ |
| 2652 | "get", |
| 2653 | "shield_text" |
| 2654 | ] |
| 2655 | ], |
| 2656 | 5 |
| 2657 | ] |
| 2658 | ], |
| 2659 | "layout": { |
| 2660 | "icon-image": [ |
| 2661 | "match", |
| 2662 | [ |
| 2663 | "get", |
| 2664 | "network" |
| 2665 | ], |
| 2666 | "US:I", |
| 2667 | [ |
| 2668 | "concat", |
| 2669 | "US:I-", |
| 2670 | [ |
| 2671 | "length", |
| 2672 | [ |
| 2673 | "get", |
| 2674 | "shield_text" |
| 2675 | ] |
| 2676 | ], |
| 2677 | "char" |
| 2678 | ], |
| 2679 | "NL:S-road", |
| 2680 | [ |
| 2681 | "concat", |
| 2682 | "NL:S-road-", |
| 2683 | [ |
| 2684 | "length", |
| 2685 | [ |
| 2686 | "get", |
| 2687 | "shield_text" |
| 2688 | ] |
| 2689 | ], |
| 2690 | "char" |
| 2691 | ], |
| 2692 | [ |
| 2693 | "concat", |
| 2694 | "generic_shield-", |
| 2695 | [ |
| 2696 | "length", |
| 2697 | [ |
| 2698 | "get", |
| 2699 | "shield_text" |
| 2700 | ] |
| 2701 | ], |
| 2702 | "char" |
| 2703 | ] |
| 2704 | ], |
| 2705 | "text-field": [ |
| 2706 | "get", |
| 2707 | "shield_text" |
| 2708 | ], |
| 2709 | "text-font": [ |
| 2710 | "Noto Sans Medium" |
| 2711 | ], |
| 2712 | "text-size": 8, |
| 2713 | "icon-size": 0.8, |
| 2714 | "symbol-placement": "line", |
| 2715 | "icon-rotation-alignment": "viewport", |
| 2716 | "text-rotation-alignment": "viewport" |
| 2717 | }, |
| 2718 | "paint": { |
| 2719 | "text-color": "#938a8d" |
| 2720 | } |
| 2721 | }, |
| 2722 | { |
| 2723 | "id": "roads_labels_major", |
| 2724 | "type": "symbol", |
| 2725 | "source": "protomaps", |
| 2726 | "source-layer": "roads", |
| 2727 | "minzoom": 11, |
| 2728 | "filter": [ |
| 2729 | "in", |
| 2730 | "kind", |
| 2731 | "highway", |
| 2732 | "major_road" |
| 2733 | ], |
| 2734 | "layout": { |
| 2735 | "symbol-sort-key": [ |
| 2736 | "get", |
| 2737 | "min_zoom" |
| 2738 | ], |
| 2739 | "symbol-placement": "line", |
| 2740 | "text-font": [ |
| 2741 | "Noto Sans Regular" |
| 2742 | ], |
| 2743 | "text-field": [ |
| 2744 | "coalesce", |
| 2745 | [ |
| 2746 | "get", |
| 2747 | "name:en" |
| 2748 | ], |
| 2749 | [ |
| 2750 | "get", |
| 2751 | "name" |
| 2752 | ], |
| 2753 | [ |
| 2754 | "get", |
| 2755 | "pgf:name" |
| 2756 | ], |
| 2757 | "" |
| 2758 | ], |
| 2759 | "text-size": 12 |
| 2760 | }, |
| 2761 | "paint": { |
| 2762 | "text-color": "#938a8d", |
| 2763 | "text-halo-color": "#ffffff", |
| 2764 | "text-halo-width": 1 |
| 2765 | } |
| 2766 | }, |
| 2767 | { |
| 2768 | "id": "pois", |
| 2769 | "type": "symbol", |
| 2770 | "source": "protomaps", |
| 2771 | "source-layer": "pois", |
| 2772 | "filter": [ |
| 2773 | "all", |
| 2774 | [ |
| 2775 | "in", |
| 2776 | [ |
| 2777 | "get", |
| 2778 | "kind" |
| 2779 | ], |
| 2780 | [ |
| 2781 | "literal", |
| 2782 | [ |
| 2783 | "beach", |
| 2784 | "forest", |
| 2785 | "marina", |
| 2786 | "park", |
| 2787 | "peak", |
| 2788 | "zoo", |
| 2789 | "garden", |
| 2790 | "bench", |
| 2791 | "aerodrome", |
| 2792 | "station", |
| 2793 | "bus_stop", |
| 2794 | "ferry_terminal", |
| 2795 | "stadium", |
| 2796 | "university", |
| 2797 | "library", |
| 2798 | "school", |
| 2799 | "animal", |
| 2800 | "toilets", |
| 2801 | "drinking_water", |
| 2802 | "post_office", |
| 2803 | "building", |
| 2804 | "townhall", |
| 2805 | "restaurant", |
| 2806 | "fast_food", |
| 2807 | "cafe", |
| 2808 | "bar", |
| 2809 | "supermarket", |
| 2810 | "convenience", |
| 2811 | "books", |
| 2812 | "beauty", |
| 2813 | "electronics", |
| 2814 | "clothes", |
| 2815 | "attraction", |
| 2816 | "museum", |
| 2817 | "theatre", |
| 2818 | "artwork" |
| 2819 | ] |
| 2820 | ] |
| 2821 | ], |
| 2822 | [ |
| 2823 | ">=", |
| 2824 | [ |
| 2825 | "zoom" |
| 2826 | ], |
| 2827 | [ |
| 2828 | "get", |
| 2829 | "min_zoom" |
| 2830 | ] |
| 2831 | ] |
| 2832 | ], |
| 2833 | "layout": { |
| 2834 | "icon-image": [ |
| 2835 | "match", |
| 2836 | [ |
| 2837 | "get", |
| 2838 | "kind" |
| 2839 | ], |
| 2840 | "station", |
| 2841 | "train_station", |
| 2842 | [ |
| 2843 | "get", |
| 2844 | "kind" |
| 2845 | ] |
| 2846 | ], |
| 2847 | "text-font": [ |
| 2848 | "Noto Sans Regular" |
| 2849 | ], |
| 2850 | "text-justify": "auto", |
| 2851 | "text-field": [ |
| 2852 | "coalesce", |
| 2853 | [ |
| 2854 | "get", |
| 2855 | "name:en" |
| 2856 | ], |
| 2857 | [ |
| 2858 | "get", |
| 2859 | "name" |
| 2860 | ], |
| 2861 | [ |
| 2862 | "get", |
| 2863 | "pgf:name" |
| 2864 | ], |
| 2865 | "" |
| 2866 | ], |
| 2867 | "text-size": [ |
| 2868 | "interpolate", |
| 2869 | [ |
| 2870 | "linear" |
| 2871 | ], |
| 2872 | [ |
| 2873 | "zoom" |
| 2874 | ], |
| 2875 | 17, |
| 2876 | 10, |
| 2877 | 19, |
| 2878 | 16 |
| 2879 | ], |
| 2880 | "text-max-width": 8, |
| 2881 | "text-offset": [ |
| 2882 | 1.1, |
| 2883 | 0 |
| 2884 | ], |
| 2885 | "text-variable-anchor": [ |
| 2886 | "left", |
| 2887 | "right" |
| 2888 | ] |
| 2889 | }, |
| 2890 | "paint": { |
| 2891 | "text-color": [ |
| 2892 | "case", |
| 2893 | [ |
| 2894 | "in", |
| 2895 | [ |
| 2896 | "get", |
| 2897 | "kind" |
| 2898 | ], |
| 2899 | [ |
| 2900 | "literal", |
| 2901 | [ |
| 2902 | "beach", |
| 2903 | "forest", |
| 2904 | "marina", |
| 2905 | "park", |
| 2906 | "peak", |
| 2907 | "zoo", |
| 2908 | "garden", |
| 2909 | "bench" |
| 2910 | ] |
| 2911 | ] |
| 2912 | ], |
| 2913 | "#20834D", |
| 2914 | [ |
| 2915 | "in", |
| 2916 | [ |
| 2917 | "get", |
| 2918 | "kind" |
| 2919 | ], |
| 2920 | [ |
| 2921 | "literal", |
| 2922 | [ |
| 2923 | "aerodrome", |
| 2924 | "station", |
| 2925 | "bus_stop", |
| 2926 | "ferry_terminal" |
| 2927 | ] |
| 2928 | ] |
| 2929 | ], |
| 2930 | "#315BCF", |
| 2931 | [ |
| 2932 | "in", |
| 2933 | [ |
| 2934 | "get", |
| 2935 | "kind" |
| 2936 | ], |
| 2937 | [ |
| 2938 | "literal", |
| 2939 | [ |
| 2940 | "stadium", |
| 2941 | "university", |
| 2942 | "library", |
| 2943 | "school", |
| 2944 | "animal", |
| 2945 | "toilets", |
| 2946 | "drinking_water", |
| 2947 | "post_office", |
| 2948 | "building", |
| 2949 | "townhall" |
| 2950 | ] |
| 2951 | ] |
| 2952 | ], |
| 2953 | "#6A5B8F", |
| 2954 | [ |
| 2955 | "in", |
| 2956 | [ |
| 2957 | "get", |
| 2958 | "kind" |
| 2959 | ], |
| 2960 | [ |
| 2961 | "literal", |
| 2962 | [ |
| 2963 | "supermarket", |
| 2964 | "convenience", |
| 2965 | "books", |
| 2966 | "beauty", |
| 2967 | "electronics", |
| 2968 | "clothes" |
| 2969 | ] |
| 2970 | ] |
| 2971 | ], |
| 2972 | "#1A8CBD", |
| 2973 | [ |
| 2974 | "in", |
| 2975 | [ |
| 2976 | "get", |
| 2977 | "kind" |
| 2978 | ], |
| 2979 | [ |
| 2980 | "literal", |
| 2981 | [ |
| 2982 | "restaurant", |
| 2983 | "fast_food", |
| 2984 | "cafe", |
| 2985 | "bar" |
| 2986 | ] |
| 2987 | ] |
| 2988 | ], |
| 2989 | "#CB6704", |
| 2990 | [ |
| 2991 | "in", |
| 2992 | [ |
| 2993 | "get", |
| 2994 | "kind" |
| 2995 | ], |
| 2996 | [ |
| 2997 | "literal", |
| 2998 | [ |
| 2999 | "attraction", |
| 3000 | "museum", |
| 3001 | "theatre", |
| 3002 | "artwork" |
| 3003 | ] |
| 3004 | ] |
| 3005 | ], |
| 3006 | "#EF56BA", |
| 3007 | "#e2dfda" |
| 3008 | ], |
| 3009 | "text-halo-color": "#e2dfda", |
| 3010 | "text-halo-width": 1 |
| 3011 | } |
| 3012 | }, |
| 3013 | { |
| 3014 | "id": "places_subplace", |
| 3015 | "type": "symbol", |
| 3016 | "source": "protomaps", |
| 3017 | "source-layer": "places", |
| 3018 | "filter": [ |
| 3019 | "in", |
| 3020 | "kind", |
| 3021 | "neighbourhood", |
| 3022 | "macrohood" |
| 3023 | ], |
| 3024 | "layout": { |
| 3025 | "symbol-sort-key": [ |
| 3026 | "case", |
| 3027 | [ |
| 3028 | "has", |
| 3029 | "sort_key" |
| 3030 | ], |
| 3031 | [ |
| 3032 | "get", |
| 3033 | "sort_key" |
| 3034 | ], |
| 3035 | [ |
| 3036 | "get", |
| 3037 | "min_zoom" |
| 3038 | ] |
| 3039 | ], |
| 3040 | "text-field": [ |
| 3041 | "coalesce", |
| 3042 | [ |
| 3043 | "get", |
| 3044 | "name:en" |
| 3045 | ], |
| 3046 | [ |
| 3047 | "get", |
| 3048 | "name" |
| 3049 | ], |
| 3050 | [ |
| 3051 | "get", |
| 3052 | "pgf:name" |
| 3053 | ], |
| 3054 | "" |
| 3055 | ], |
| 3056 | "text-font": [ |
| 3057 | "Noto Sans Regular" |
| 3058 | ], |
| 3059 | "text-max-width": 7, |
| 3060 | "text-letter-spacing": 0.1, |
| 3061 | "text-padding": [ |
| 3062 | "interpolate", |
| 3063 | [ |
| 3064 | "linear" |
| 3065 | ], |
| 3066 | [ |
| 3067 | "zoom" |
| 3068 | ], |
| 3069 | 5, |
| 3070 | 2, |
| 3071 | 8, |
| 3072 | 4, |
| 3073 | 12, |
| 3074 | 18, |
| 3075 | 15, |
| 3076 | 20 |
| 3077 | ], |
| 3078 | "text-size": [ |
| 3079 | "interpolate", |
| 3080 | [ |
| 3081 | "linear" |
| 3082 | ], |
| 3083 | [ |
| 3084 | "zoom" |
| 3085 | ], |
| 3086 | 11, |
| 3087 | 8, |
| 3088 | 14, |
| 3089 | 14, |
| 3090 | 18, |
| 3091 | 24 |
| 3092 | ], |
| 3093 | "text-transform": "uppercase" |
| 3094 | }, |
| 3095 | "paint": { |
| 3096 | "text-color": "#8f8f8f", |
| 3097 | "text-halo-color": "#e0e0e0", |
| 3098 | "text-halo-width": 1 |
| 3099 | } |
| 3100 | }, |
| 3101 | { |
| 3102 | "id": "places_region", |
| 3103 | "type": "symbol", |
| 3104 | "source": "protomaps", |
| 3105 | "source-layer": "places", |
| 3106 | "filter": [ |
| 3107 | "==", |
| 3108 | "kind", |
| 3109 | "region" |
| 3110 | ], |
| 3111 | "layout": { |
| 3112 | "symbol-sort-key": [ |
| 3113 | "get", |
| 3114 | "sort_key" |
| 3115 | ], |
| 3116 | "text-field": [ |
| 3117 | "step", |
| 3118 | [ |
| 3119 | "zoom" |
| 3120 | ], |
| 3121 | [ |
| 3122 | "coalesce", |
| 3123 | [ |
| 3124 | "get", |
| 3125 | "ref:en" |
| 3126 | ], |
| 3127 | [ |
| 3128 | "get", |
| 3129 | "ref" |
| 3130 | ] |
| 3131 | ], |
| 3132 | 6, |
| 3133 | [ |
| 3134 | "coalesce", |
| 3135 | [ |
| 3136 | "get", |
| 3137 | "name:en" |
| 3138 | ], |
| 3139 | [ |
| 3140 | "get", |
| 3141 | "name" |
| 3142 | ], |
| 3143 | [ |
| 3144 | "get", |
| 3145 | "pgf:name" |
| 3146 | ], |
| 3147 | "" |
| 3148 | ] |
| 3149 | ], |
| 3150 | "text-font": [ |
| 3151 | "Noto Sans Regular" |
| 3152 | ], |
| 3153 | "text-size": [ |
| 3154 | "interpolate", |
| 3155 | [ |
| 3156 | "linear" |
| 3157 | ], |
| 3158 | [ |
| 3159 | "zoom" |
| 3160 | ], |
| 3161 | 3, |
| 3162 | 11, |
| 3163 | 7, |
| 3164 | 16 |
| 3165 | ], |
| 3166 | "text-radial-offset": 0.2, |
| 3167 | "text-anchor": "center", |
| 3168 | "text-transform": "uppercase" |
| 3169 | }, |
| 3170 | "paint": { |
| 3171 | "text-color": "#b3b3b3", |
| 3172 | "text-halo-color": "#e0e0e0", |
| 3173 | "text-halo-width": 1 |
| 3174 | } |
| 3175 | }, |
| 3176 | { |
| 3177 | "id": "places_locality", |
| 3178 | "type": "symbol", |
| 3179 | "source": "protomaps", |
| 3180 | "source-layer": "places", |
| 3181 | "filter": [ |
| 3182 | "==", |
| 3183 | "kind", |
| 3184 | "locality" |
| 3185 | ], |
| 3186 | "layout": { |
| 3187 | "icon-image": [ |
| 3188 | "step", |
| 3189 | [ |
| 3190 | "zoom" |
| 3191 | ], |
| 3192 | [ |
| 3193 | "case", |
| 3194 | [ |
| 3195 | "==", |
| 3196 | [ |
| 3197 | "get", |
| 3198 | "capital" |
| 3199 | ], |
| 3200 | "yes" |
| 3201 | ], |
| 3202 | "capital", |
| 3203 | "townspot" |
| 3204 | ], |
| 3205 | 8, |
| 3206 | "" |
| 3207 | ], |
| 3208 | "icon-size": 0.7, |
| 3209 | "text-field": [ |
| 3210 | "coalesce", |
| 3211 | [ |
| 3212 | "get", |
| 3213 | "name:en" |
| 3214 | ], |
| 3215 | [ |
| 3216 | "get", |
| 3217 | "name" |
| 3218 | ], |
| 3219 | [ |
| 3220 | "get", |
| 3221 | "pgf:name" |
| 3222 | ], |
| 3223 | "" |
| 3224 | ], |
| 3225 | "text-font": [ |
| 3226 | "case", |
| 3227 | [ |
| 3228 | "<=", |
| 3229 | [ |
| 3230 | "get", |
| 3231 | "min_zoom" |
| 3232 | ], |
| 3233 | 5 |
| 3234 | ], |
| 3235 | [ |
| 3236 | "literal", |
| 3237 | [ |
| 3238 | "Noto Sans Medium" |
| 3239 | ] |
| 3240 | ], |
| 3241 | [ |
| 3242 | "literal", |
| 3243 | [ |
| 3244 | "Noto Sans Regular" |
| 3245 | ] |
| 3246 | ] |
| 3247 | ], |
| 3248 | "symbol-sort-key": [ |
| 3249 | "case", |
| 3250 | [ |
| 3251 | "has", |
| 3252 | "sort_key" |
| 3253 | ], |
| 3254 | [ |
| 3255 | "get", |
| 3256 | "sort_key" |
| 3257 | ], |
| 3258 | [ |
| 3259 | "get", |
| 3260 | "min_zoom" |
| 3261 | ] |
| 3262 | ], |
| 3263 | "text-padding": [ |
| 3264 | "interpolate", |
| 3265 | [ |
| 3266 | "linear" |
| 3267 | ], |
| 3268 | [ |
| 3269 | "zoom" |
| 3270 | ], |
| 3271 | 5, |
| 3272 | 3, |
| 3273 | 8, |
| 3274 | 7, |
| 3275 | 12, |
| 3276 | 11 |
| 3277 | ], |
| 3278 | "text-size": [ |
| 3279 | "interpolate", |
| 3280 | [ |
| 3281 | "linear" |
| 3282 | ], |
| 3283 | [ |
| 3284 | "zoom" |
| 3285 | ], |
| 3286 | 2, |
| 3287 | [ |
| 3288 | "case", |
| 3289 | [ |
| 3290 | "<", |
| 3291 | [ |
| 3292 | "get", |
| 3293 | "population_rank" |
| 3294 | ], |
| 3295 | 13 |
| 3296 | ], |
| 3297 | 8, |
| 3298 | [ |
| 3299 | ">=", |
| 3300 | [ |
| 3301 | "get", |
| 3302 | "population_rank" |
| 3303 | ], |
| 3304 | 13 |
| 3305 | ], |
| 3306 | 13, |
| 3307 | 0 |
| 3308 | ], |
| 3309 | 4, |
| 3310 | [ |
| 3311 | "case", |
| 3312 | [ |
| 3313 | "<", |
| 3314 | [ |
| 3315 | "get", |
| 3316 | "population_rank" |
| 3317 | ], |
| 3318 | 13 |
| 3319 | ], |
| 3320 | 10, |
| 3321 | [ |
| 3322 | ">=", |
| 3323 | [ |
| 3324 | "get", |
| 3325 | "population_rank" |
| 3326 | ], |
| 3327 | 13 |
| 3328 | ], |
| 3329 | 15, |
| 3330 | 0 |
| 3331 | ], |
| 3332 | 6, |
| 3333 | [ |
| 3334 | "case", |
| 3335 | [ |
| 3336 | "<", |
| 3337 | [ |
| 3338 | "get", |
| 3339 | "population_rank" |
| 3340 | ], |
| 3341 | 12 |
| 3342 | ], |
| 3343 | 11, |
| 3344 | [ |
| 3345 | ">=", |
| 3346 | [ |
| 3347 | "get", |
| 3348 | "population_rank" |
| 3349 | ], |
| 3350 | 12 |
| 3351 | ], |
| 3352 | 17, |
| 3353 | 0 |
| 3354 | ], |
| 3355 | 8, |
| 3356 | [ |
| 3357 | "case", |
| 3358 | [ |
| 3359 | "<", |
| 3360 | [ |
| 3361 | "get", |
| 3362 | "population_rank" |
| 3363 | ], |
| 3364 | 11 |
| 3365 | ], |
| 3366 | 11, |
| 3367 | [ |
| 3368 | ">=", |
| 3369 | [ |
| 3370 | "get", |
| 3371 | "population_rank" |
| 3372 | ], |
| 3373 | 11 |
| 3374 | ], |
| 3375 | 18, |
| 3376 | 0 |
| 3377 | ], |
| 3378 | 10, |
| 3379 | [ |
| 3380 | "case", |
| 3381 | [ |
| 3382 | "<", |
| 3383 | [ |
| 3384 | "get", |
| 3385 | "population_rank" |
| 3386 | ], |
| 3387 | 9 |
| 3388 | ], |
| 3389 | 12, |
| 3390 | [ |
| 3391 | ">=", |
| 3392 | [ |
| 3393 | "get", |
| 3394 | "population_rank" |
| 3395 | ], |
| 3396 | 9 |
| 3397 | ], |
| 3398 | 20, |
| 3399 | 0 |
| 3400 | ], |
| 3401 | 15, |
| 3402 | [ |
| 3403 | "case", |
| 3404 | [ |
| 3405 | "<", |
| 3406 | [ |
| 3407 | "get", |
| 3408 | "population_rank" |
| 3409 | ], |
| 3410 | 8 |
| 3411 | ], |
| 3412 | 12, |
| 3413 | [ |
| 3414 | ">=", |
| 3415 | [ |
| 3416 | "get", |
| 3417 | "population_rank" |
| 3418 | ], |
| 3419 | 8 |
| 3420 | ], |
| 3421 | 22, |
| 3422 | 0 |
| 3423 | ] |
| 3424 | ], |
| 3425 | "icon-padding": [ |
| 3426 | "interpolate", |
| 3427 | [ |
| 3428 | "linear" |
| 3429 | ], |
| 3430 | [ |
| 3431 | "zoom" |
| 3432 | ], |
| 3433 | 0, |
| 3434 | 0, |
| 3435 | 8, |
| 3436 | 4, |
| 3437 | 10, |
| 3438 | 8, |
| 3439 | 12, |
| 3440 | 6, |
| 3441 | 22, |
| 3442 | 2 |
| 3443 | ], |
| 3444 | "text-justify": "auto", |
| 3445 | "text-variable-anchor": [ |
| 3446 | "step", |
| 3447 | [ |
| 3448 | "zoom" |
| 3449 | ], |
| 3450 | [ |
| 3451 | "literal", |
| 3452 | [ |
| 3453 | "bottom", |
| 3454 | "left", |
| 3455 | "right", |
| 3456 | "top" |
| 3457 | ] |
| 3458 | ], |
| 3459 | 8, |
| 3460 | [ |
| 3461 | "literal", |
| 3462 | [ |
| 3463 | "center" |
| 3464 | ] |
| 3465 | ] |
| 3466 | ], |
| 3467 | "text-radial-offset": 0.3 |
| 3468 | }, |
| 3469 | "paint": { |
| 3470 | "text-color": "#5c5c5c", |
| 3471 | "text-halo-color": "#e0e0e0", |
| 3472 | "text-halo-width": 1 |
| 3473 | } |
| 3474 | }, |
| 3475 | { |
| 3476 | "id": "places_country", |
| 3477 | "type": "symbol", |
| 3478 | "source": "protomaps", |
| 3479 | "source-layer": "places", |
| 3480 | "filter": [ |
| 3481 | "==", |
| 3482 | "kind", |
| 3483 | "country" |
| 3484 | ], |
| 3485 | "layout": { |
| 3486 | "symbol-sort-key": [ |
| 3487 | "case", |
| 3488 | [ |
| 3489 | "has", |
| 3490 | "sort_key" |
| 3491 | ], |
| 3492 | [ |
| 3493 | "get", |
| 3494 | "sort_key" |
| 3495 | ], |
| 3496 | [ |
| 3497 | "get", |
| 3498 | "min_zoom" |
| 3499 | ] |
| 3500 | ], |
| 3501 | "text-field": [ |
| 3502 | "format", |
| 3503 | [ |
| 3504 | "coalesce", |
| 3505 | [ |
| 3506 | "get", |
| 3507 | "name:en" |
| 3508 | ], |
| 3509 | [ |
| 3510 | "get", |
| 3511 | "name:en" |
| 3512 | ] |
| 3513 | ], |
| 3514 | {} |
| 3515 | ], |
| 3516 | "text-font": [ |
| 3517 | "Noto Sans Medium" |
| 3518 | ], |
| 3519 | "text-size": [ |
| 3520 | "interpolate", |
| 3521 | [ |
| 3522 | "linear" |
| 3523 | ], |
| 3524 | [ |
| 3525 | "zoom" |
| 3526 | ], |
| 3527 | 2, |
| 3528 | [ |
| 3529 | "case", |
| 3530 | [ |
| 3531 | "<", |
| 3532 | [ |
| 3533 | "get", |
| 3534 | "population_rank" |
| 3535 | ], |
| 3536 | 10 |
| 3537 | ], |
| 3538 | 8, |
| 3539 | [ |
| 3540 | ">=", |
| 3541 | [ |
| 3542 | "get", |
| 3543 | "population_rank" |
| 3544 | ], |
| 3545 | 10 |
| 3546 | ], |
| 3547 | 12, |
| 3548 | 0 |
| 3549 | ], |
| 3550 | 6, |
| 3551 | [ |
| 3552 | "case", |
| 3553 | [ |
| 3554 | "<", |
| 3555 | [ |
| 3556 | "get", |
| 3557 | "population_rank" |
| 3558 | ], |
| 3559 | 8 |
| 3560 | ], |
| 3561 | 10, |
| 3562 | [ |
| 3563 | ">=", |
| 3564 | [ |
| 3565 | "get", |
| 3566 | "population_rank" |
| 3567 | ], |
| 3568 | 8 |
| 3569 | ], |
| 3570 | 18, |
| 3571 | 0 |
| 3572 | ], |
| 3573 | 8, |
| 3574 | [ |
| 3575 | "case", |
| 3576 | [ |
| 3577 | "<", |
| 3578 | [ |
| 3579 | "get", |
| 3580 | "population_rank" |
| 3581 | ], |
| 3582 | 7 |
| 3583 | ], |
| 3584 | 11, |
| 3585 | [ |
| 3586 | ">=", |
| 3587 | [ |
| 3588 | "get", |
| 3589 | "population_rank" |
| 3590 | ], |
| 3591 | 7 |
| 3592 | ], |
| 3593 | 20, |
| 3594 | 0 |
| 3595 | ] |
| 3596 | ], |
| 3597 | "icon-padding": [ |
| 3598 | "interpolate", |
| 3599 | [ |
| 3600 | "linear" |
| 3601 | ], |
| 3602 | [ |
| 3603 | "zoom" |
| 3604 | ], |
| 3605 | 0, |
| 3606 | 2, |
| 3607 | 14, |
| 3608 | 2, |
| 3609 | 16, |
| 3610 | 20, |
| 3611 | 17, |
| 3612 | 2, |
| 3613 | 22, |
| 3614 | 2 |
| 3615 | ], |
| 3616 | "text-transform": "uppercase" |
| 3617 | }, |
| 3618 | "paint": { |
| 3619 | "text-color": "#a3a3a3", |
| 3620 | "text-halo-color": "#e2dfda", |
| 3621 | "text-halo-width": 1 |
| 3622 | } |
| 3623 | } |
| 3624 | ], |
| 3625 | "sprite": "https://data.maproj.org/basemaps-assets/sprites/v4/light", |
| 3626 | "glyphs": "https://data.maproj.org/basemaps-assets/fonts/{fontstack}/{range}.pbf" |
| 3627 | } |