Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / library / map / src / main / rust / style / basemap.flat.json
basemap.flat.json990 lines · 27.2 KiBRaw
| 1 | { |
| 2 | "version": 1, |
| 3 | "background": { "light": "#80deea", "dark": "#0d1b2a" }, |
| 4 | "layers": [ |
| 5 | { |
| 6 | "id": "earth", |
| 7 | "authored": "earth", |
| 8 | "source": "landtype", |
| 9 | "type": "fill", |
| 10 | "forbid_kinds": ["protected_area", "nature_reserve"], |
| 11 | "light": "#e2dfda", |
| 12 | "dark": "#24262c" |
| 13 | }, |
| 14 | { |
| 15 | "id": "landcover", |
| 16 | "authored": "landcover", |
| 17 | "source": "landtype", |
| 18 | "type": "fill", |
| 19 | "forbid_kinds": ["protected_area", "nature_reserve"], |
| 20 | "light": "#c4e7d2", |
| 21 | "dark": "#262b2a", |
| 22 | "opacity": { "interpolate": "linear", "stops": [[5, 1], [7, 0]] } |
| 23 | }, |
| 24 | { |
| 25 | "id": "landcover:grassland", |
| 26 | "authored": "landcover", |
| 27 | "source": "landtype", |
| 28 | "type": "fill", |
| 29 | "kinds": ["grassland"], |
| 30 | "light": "#d2efcf", |
| 31 | "dark": "#262c28", |
| 32 | "opacity": { "interpolate": "linear", "stops": [[5, 1], [7, 0]] } |
| 33 | }, |
| 34 | { |
| 35 | "id": "landcover:barren", |
| 36 | "authored": "landcover", |
| 37 | "source": "landtype", |
| 38 | "type": "fill", |
| 39 | "kinds": ["barren"], |
| 40 | "light": "#fff3d7", |
| 41 | "dark": "#2c2a24", |
| 42 | "opacity": { "interpolate": "linear", "stops": [[5, 1], [7, 0]] } |
| 43 | }, |
| 44 | { |
| 45 | "id": "landcover:urban_area", |
| 46 | "authored": "landcover", |
| 47 | "source": "landtype", |
| 48 | "type": "fill", |
| 49 | "kinds": ["urban_area"], |
| 50 | "light": "#e6e6e6", |
| 51 | "dark": "#2a2b2e", |
| 52 | "opacity": { "interpolate": "linear", "stops": [[5, 1], [7, 0]] } |
| 53 | }, |
| 54 | { |
| 55 | "id": "landcover:farmland", |
| 56 | "authored": "landcover", |
| 57 | "source": "landtype", |
| 58 | "type": "fill", |
| 59 | "kinds": ["farmland"], |
| 60 | "light": "#d8efd2", |
| 61 | "dark": "#272d29", |
| 62 | "opacity": { "interpolate": "linear", "stops": [[5, 1], [7, 0]] } |
| 63 | }, |
| 64 | { |
| 65 | "id": "landcover:glacier", |
| 66 | "authored": "landcover", |
| 67 | "source": "landtype", |
| 68 | "type": "fill", |
| 69 | "kinds": ["glacier"], |
| 70 | "light": "#ffffff", |
| 71 | "dark": "#34373d", |
| 72 | "opacity": { "interpolate": "linear", "stops": [[5, 1], [7, 0]] } |
| 73 | }, |
| 74 | { |
| 75 | "id": "landcover:scrub", |
| 76 | "authored": "landcover", |
| 77 | "source": "landtype", |
| 78 | "type": "fill", |
| 79 | "kinds": ["scrub"], |
| 80 | "light": "#eaefd2", |
| 81 | "dark": "#2a2c26", |
| 82 | "opacity": { "interpolate": "linear", "stops": [[5, 1], [7, 0]] } |
| 83 | }, |
| 84 | { |
| 85 | "id": "landuse_park:national_park", |
| 86 | "authored": "landuse_park", |
| 87 | "source": "landtype", |
| 88 | "type": "fill", |
| 89 | "kinds": [ |
| 90 | "national_park", |
| 91 | "park", |
| 92 | "cemetery", |
| 93 | "forest", |
| 94 | "golf_course" |
| 95 | ], |
| 96 | "light": "#9cd3b4", |
| 97 | "dark": "#1e2b20", |
| 98 | "opacity": { "interpolate": "linear", "stops": [[6, 0], [11, 1]] } |
| 99 | }, |
| 100 | { |
| 101 | "id": "landuse_park:wood", |
| 102 | "authored": "landuse_park", |
| 103 | "source": "landtype", |
| 104 | "type": "fill", |
| 105 | "kinds": ["wood"], |
| 106 | "light": "#a0d9a0", |
| 107 | "dark": "#1e2b20", |
| 108 | "opacity": { "interpolate": "linear", "stops": [[6, 0], [11, 1]] } |
| 109 | }, |
| 110 | { |
| 111 | "id": "landuse_park:scrub", |
| 112 | "authored": "landuse_park", |
| 113 | "source": "landtype", |
| 114 | "type": "fill", |
| 115 | "kinds": ["scrub", "grassland", "grass"], |
| 116 | "light": "#99d2bb", |
| 117 | "dark": "#1f2a22", |
| 118 | "opacity": { "interpolate": "linear", "stops": [[6, 0], [11, 1]] } |
| 119 | }, |
| 120 | { |
| 121 | "id": "landuse_park:military", |
| 122 | "authored": "landuse_park", |
| 123 | "source": "landtype", |
| 124 | "type": "fill", |
| 125 | "kinds": ["military", "naval_base", "airfield"], |
| 126 | "light": "#c6dcdc", |
| 127 | "dark": "#26282e", |
| 128 | "opacity": { "interpolate": "linear", "stops": [[6, 0], [11, 1]] } |
| 129 | }, |
| 130 | { |
| 131 | "id": "landuse_urban_green", |
| 132 | "authored": "landuse_urban_green", |
| 133 | "source": "landtype", |
| 134 | "type": "fill", |
| 135 | "kinds": ["allotments", "village_green", "playground"], |
| 136 | "light": "#9cd3b4", |
| 137 | "dark": "#23362a", |
| 138 | "opacity": 0.7 |
| 139 | }, |
| 140 | { |
| 141 | "id": "landuse_hospital", |
| 142 | "authored": "landuse_hospital", |
| 143 | "source": "landtype", |
| 144 | "type": "fill", |
| 145 | "kinds": ["hospital"], |
| 146 | "light": "#e4dad9", |
| 147 | "dark": "#2b2528" |
| 148 | }, |
| 149 | { |
| 150 | "id": "landuse_industrial", |
| 151 | "authored": "landuse_industrial", |
| 152 | "source": "landtype", |
| 153 | "type": "fill", |
| 154 | "kinds": ["industrial"], |
| 155 | "light": "#d1dde1", |
| 156 | "dark": "#20262b" |
| 157 | }, |
| 158 | { |
| 159 | "id": "landuse_school", |
| 160 | "authored": "landuse_school", |
| 161 | "source": "landtype", |
| 162 | "type": "fill", |
| 163 | "kinds": ["school", "university", "college"], |
| 164 | "light": "#e4ded7", |
| 165 | "dark": "#282520" |
| 166 | }, |
| 167 | { |
| 168 | "id": "landuse_beach", |
| 169 | "authored": "landuse_beach", |
| 170 | "source": "landtype", |
| 171 | "type": "fill", |
| 172 | "kinds": ["beach"], |
| 173 | "light": "#e8e4d0", |
| 174 | "dark": "#2c2a22" |
| 175 | }, |
| 176 | { |
| 177 | "id": "landuse_zoo", |
| 178 | "authored": "landuse_zoo", |
| 179 | "source": "landtype", |
| 180 | "type": "fill", |
| 181 | "kinds": ["zoo"], |
| 182 | "light": "#c6dcdc", |
| 183 | "dark": "#213030" |
| 184 | }, |
| 185 | { |
| 186 | "id": "landuse_aerodrome", |
| 187 | "authored": "landuse_aerodrome", |
| 188 | "source": "landtype", |
| 189 | "type": "fill", |
| 190 | "kinds": ["aerodrome"], |
| 191 | "light": "#dadbdf", |
| 192 | "dark": "#212228" |
| 193 | }, |
| 194 | { |
| 195 | "id": "landuse_runway", |
| 196 | "authored": "landuse_runway", |
| 197 | "source": "landtype", |
| 198 | "type": "fill", |
| 199 | "kinds": ["runway", "taxiway"], |
| 200 | "light": "#e9e9ed", |
| 201 | "dark": "#262931" |
| 202 | }, |
| 203 | { |
| 204 | "id": "water", |
| 205 | "authored": "water", |
| 206 | "source": "landtype", |
| 207 | "type": "fill", |
| 208 | "kinds": ["ocean", "sea", "lake", "water", "river", "stream", "bay", "strait", "fjord", "reef", "canal", "dock"], |
| 209 | "light": "#80deea", |
| 210 | "dark": "#0d1b2a" |
| 211 | }, |
| 212 | { |
| 213 | "id": "landuse_pedestrian", |
| 214 | "authored": "landuse_pedestrian", |
| 215 | "source": "landtype", |
| 216 | "type": "fill", |
| 217 | "kinds": ["pedestrian", "dam"], |
| 218 | "light": "#e3e0d4", |
| 219 | "dark": "#242229" |
| 220 | }, |
| 221 | { |
| 222 | "id": "landuse_orchard", |
| 223 | "authored": "landuse_orchard", |
| 224 | "source": "landtype", |
| 225 | "type": "fill", |
| 226 | "kinds": ["orchard"], |
| 227 | "light": "#c9e4b4", |
| 228 | "dark": "#232b22", |
| 229 | "opacity": { "interpolate": "linear", "stops": [[6, 0], [11, 1]] } |
| 230 | }, |
| 231 | { |
| 232 | "id": "landuse_vineyard", |
| 233 | "authored": "landuse_vineyard", |
| 234 | "source": "landtype", |
| 235 | "type": "fill", |
| 236 | "kinds": ["vineyard"], |
| 237 | "light": "#b8d9a3", |
| 238 | "dark": "#222a20", |
| 239 | "opacity": { "interpolate": "linear", "stops": [[6, 0], [11, 1]] } |
| 240 | }, |
| 241 | { |
| 242 | "id": "landuse_quarry", |
| 243 | "authored": "landuse_quarry", |
| 244 | "source": "landtype", |
| 245 | "type": "fill", |
| 246 | "kinds": ["quarry"], |
| 247 | "light": "#e8e0d0", |
| 248 | "dark": "#2a2723" |
| 249 | }, |
| 250 | { |
| 251 | "id": "landuse_swimming_pool", |
| 252 | "authored": "landuse_swimming_pool", |
| 253 | "source": "landtype", |
| 254 | "type": "fill", |
| 255 | "kinds": ["swimming_pool"], |
| 256 | "light": "#80deea", |
| 257 | "dark": "#0d1b2a" |
| 258 | }, |
| 259 | { |
| 260 | "id": "landuse_residential", |
| 261 | "authored": "landuse_residential", |
| 262 | "source": "landtype", |
| 263 | "type": "fill", |
| 264 | "kinds": ["residential"], |
| 265 | "light": "#e6e2d8", |
| 266 | "dark": "#26252a" |
| 267 | }, |
| 268 | { |
| 269 | "id": "landuse_commercial", |
| 270 | "authored": "landuse_commercial", |
| 271 | "source": "landtype", |
| 272 | "type": "fill", |
| 273 | "kinds": ["commercial"], |
| 274 | "light": "#dcd6e0", |
| 275 | "dark": "#27232b" |
| 276 | }, |
| 277 | { |
| 278 | "id": "landuse_pier", |
| 279 | "authored": "landuse_pier", |
| 280 | "source": "landtype", |
| 281 | "type": "fill", |
| 282 | "kinds": ["pier"], |
| 283 | "light": "#d1dde1", |
| 284 | "dark": "#20262b" |
| 285 | }, |
| 286 | { |
| 287 | "id": "buildings", |
| 288 | "authored": "buildings", |
| 289 | "source": "buildings", |
| 290 | "type": "fill", |
| 291 | "kinds": ["building", "building_part"], |
| 292 | "light": "#cccccc", |
| 293 | "dark": "#3c4048", |
| 294 | "opacity": 0.5, |
| 295 | "minzoom": 14 |
| 296 | }, |
| 297 | { |
| 298 | "id": "roads-minor-casing", |
| 299 | "authored": "roads_minor_casing", |
| 300 | "source": "roads", |
| 301 | "type": "line", |
| 302 | "kinds": ["minor_road", "other"], |
| 303 | "forbid_flags": ["bridge", "tunnel", "link"], |
| 304 | "forbid_details": ["service"], |
| 305 | "light": "#e0e0e0", |
| 306 | "dark": "#111318", |
| 307 | "width": { |
| 308 | "interpolate": "exponential", |
| 309 | "base": 1.6, |
| 310 | "stops": [[12, 0], [12.5, 1], [18, 1], [19, 2], [20, 4], [21, 8], [22, 16]] |
| 311 | }, |
| 312 | "gap_width": { |
| 313 | "interpolate": "exponential", |
| 314 | "base": 1.6, |
| 315 | "stops": [[11, 0], [12.5, 0.5], [15, 2], [18, 11], [19, 22], [20, 44], [21, 88], [22, 176]] |
| 316 | } |
| 317 | }, |
| 318 | { |
| 319 | "id": "roads-major-casing", |
| 320 | "authored": "roads_major_casing_late", |
| 321 | "source": "roads", |
| 322 | "type": "line", |
| 323 | "kinds": ["major_road"], |
| 324 | "forbid_flags": ["bridge", "tunnel", "link"], |
| 325 | "light": "#e0e0e0", |
| 326 | "dark": "#111318", |
| 327 | "width": { |
| 328 | "interpolate": "exponential", |
| 329 | "base": 1.6, |
| 330 | "stops": [[9, 0], [9.5, 1], [18, 1], [19, 2], [20, 4], [21, 8], [22, 16]] |
| 331 | }, |
| 332 | "gap_width": { |
| 333 | "interpolate": "exponential", |
| 334 | "base": 1.6, |
| 335 | "stops": [[6, 0], [12, 1.6], [15, 3], [18, 13], [19, 26], [20, 52], [21, 104], [22, 208]] |
| 336 | } |
| 337 | }, |
| 338 | { |
| 339 | "id": "roads-highway-casing", |
| 340 | "authored": "roads_highway_casing_late", |
| 341 | "source": "roads", |
| 342 | "type": "line", |
| 343 | "kinds": ["highway"], |
| 344 | "forbid_flags": ["bridge", "tunnel", "link"], |
| 345 | "light": "#e0e0e0", |
| 346 | "dark": "#111318", |
| 347 | "width": { |
| 348 | "interpolate": "exponential", |
| 349 | "base": 1.6, |
| 350 | "stops": [[7, 0], [7.5, 1], [20, 15], [21, 30], [22, 60]] |
| 351 | }, |
| 352 | "gap_width": { |
| 353 | "interpolate": "exponential", |
| 354 | "base": 1.6, |
| 355 | "stops": [[3, 0], [3.5, 0.5], [18, 15], [19, 30], [20, 60], [21, 120], [22, 240]] |
| 356 | } |
| 357 | }, |
| 358 | { |
| 359 | "id": "roads-link-casing", |
| 360 | "authored": "roads_link_casing", |
| 361 | "source": "roads", |
| 362 | "type": "line", |
| 363 | "kinds": ["highway", "major_road", "minor_road"], |
| 364 | "require_flags": ["link"], |
| 365 | "light": "#e0e0e0", |
| 366 | "dark": "#111318", |
| 367 | "minzoom": 13, |
| 368 | "width": { |
| 369 | "interpolate": "exponential", |
| 370 | "base": 1.6, |
| 371 | "stops": [[13, 0], [13.5, 1.5], [18, 1.5], [19, 3], [20, 6], [21, 12], [22, 24]] |
| 372 | }, |
| 373 | "gap_width": { |
| 374 | "interpolate": "exponential", |
| 375 | "base": 1.6, |
| 376 | "stops": [[13, 0], [13.5, 1], [18, 11], [19, 22], [20, 44], [21, 88], [22, 176]] |
| 377 | } |
| 378 | }, |
| 379 | { |
| 380 | "id": "roads-bridges-highway-casing", |
| 381 | "authored": "roads_bridges_highway_casing", |
| 382 | "source": "roads", |
| 383 | "type": "line", |
| 384 | "kinds": ["highway"], |
| 385 | "require_flags": ["bridge"], |
| 386 | "forbid_flags": ["link"], |
| 387 | "light": "#e0e0e0", |
| 388 | "dark": "#111318", |
| 389 | "minzoom": 12, |
| 390 | "width": { |
| 391 | "interpolate": "exponential", |
| 392 | "base": 1.6, |
| 393 | "stops": [[7, 0], [7.5, 1], [20, 15], [21, 30], [22, 60]] |
| 394 | }, |
| 395 | "gap_width": { |
| 396 | "interpolate": "exponential", |
| 397 | "base": 1.6, |
| 398 | "stops": [[3, 0], [3.5, 0.5], [18, 15], [19, 30], [20, 60], [21, 120], [22, 240]] |
| 399 | } |
| 400 | }, |
| 401 | { |
| 402 | "id": "roads-bridges-major-casing", |
| 403 | "authored": "roads_bridges_major_casing", |
| 404 | "source": "roads", |
| 405 | "type": "line", |
| 406 | "kinds": ["major_road"], |
| 407 | "require_flags": ["bridge"], |
| 408 | "light": "#e0e0e0", |
| 409 | "dark": "#111318", |
| 410 | "minzoom": 12, |
| 411 | "width": { |
| 412 | "interpolate": "exponential", |
| 413 | "base": 1.6, |
| 414 | "stops": [[9, 0], [9.5, 1.5], [18, 1.5], [19, 3], [20, 6], [21, 12], [22, 24]] |
| 415 | }, |
| 416 | "gap_width": { |
| 417 | "interpolate": "exponential", |
| 418 | "base": 1.6, |
| 419 | "stops": [[7, 0], [7.5, 0.5], [18, 10], [19, 20], [20, 40], [21, 80], [22, 160]] |
| 420 | } |
| 421 | }, |
| 422 | { |
| 423 | "id": "roads-bridges-minor-casing", |
| 424 | "authored": "roads_bridges_minor_casing", |
| 425 | "source": "roads", |
| 426 | "type": "line", |
| 427 | "kinds": ["minor_road"], |
| 428 | "require_flags": ["bridge"], |
| 429 | "light": "#e0e0e0", |
| 430 | "dark": "#111318", |
| 431 | "minzoom": 12, |
| 432 | "width": { |
| 433 | "interpolate": "exponential", |
| 434 | "base": 1.6, |
| 435 | "stops": [[13, 0], [13.5, 0.8], [18, 0.8], [19, 1.6], [20, 3.2], [21, 6.4], [22, 12.8]] |
| 436 | }, |
| 437 | "gap_width": { |
| 438 | "interpolate": "exponential", |
| 439 | "base": 1.6, |
| 440 | "stops": [[11, 0], [12.5, 0.5], [15, 2], [18, 11], [19, 22], [20, 44], [21, 88], [22, 176]] |
| 441 | } |
| 442 | }, |
| 443 | { |
| 444 | "id": "roads-bridges-link-casing", |
| 445 | "authored": "roads_bridges_link_casing", |
| 446 | "source": "roads", |
| 447 | "type": "line", |
| 448 | "kinds": ["highway", "major_road", "minor_road"], |
| 449 | "require_flags": ["bridge", "link"], |
| 450 | "light": "#e0e0e0", |
| 451 | "dark": "#111318", |
| 452 | "minzoom": 12, |
| 453 | "width": { |
| 454 | "interpolate": "exponential", |
| 455 | "base": 1.6, |
| 456 | "stops": [[12, 0], [12.5, 1.5], [18, 1.5], [19, 3], [20, 6], [21, 12], [22, 24]] |
| 457 | }, |
| 458 | "gap_width": { |
| 459 | "interpolate": "exponential", |
| 460 | "base": 1.6, |
| 461 | "stops": [[13, 0], [13.5, 1], [18, 11], [19, 22], [20, 44], [21, 88], [22, 176]] |
| 462 | } |
| 463 | }, |
| 464 | { |
| 465 | "id": "roads-bridges-other-casing", |
| 466 | "authored": "roads_bridges_other_casing", |
| 467 | "source": "roads", |
| 468 | "type": "line", |
| 469 | "kinds": ["other", "path"], |
| 470 | "require_flags": ["bridge"], |
| 471 | "light": "#e0e0e0", |
| 472 | "dark": "#111318", |
| 473 | "minzoom": 12, |
| 474 | "width": { |
| 475 | "interpolate": "exponential", |
| 476 | "base": 1.6, |
| 477 | "stops": [[14, 0], [20, 7], [21, 14], [22, 28]] |
| 478 | }, |
| 479 | "gap_width": { |
| 480 | "interpolate": "exponential", |
| 481 | "base": 1.6, |
| 482 | "stops": [[14, 0], [20, 7], [21, 14], [22, 28]] |
| 483 | } |
| 484 | }, |
| 485 | { |
| 486 | "id": "roads-path", |
| 487 | "authored": "roads_other", |
| 488 | "source": "roads", |
| 489 | "type": "line", |
| 490 | "kinds": ["path"], |
| 491 | "forbid_flags": ["bridge", "tunnel"], |
| 492 | "light": "#ebebeb", |
| 493 | "dark": "#26282e", |
| 494 | "width": { |
| 495 | "interpolate": "exponential", |
| 496 | "base": 1.6, |
| 497 | "stops": [[14, 0], [20, 7], [21, 14], [22, 28]] |
| 498 | }, |
| 499 | "dash": [3, 1] |
| 500 | }, |
| 501 | { |
| 502 | "id": "roads-minor", |
| 503 | "authored": "roads_minor", |
| 504 | "source": "roads", |
| 505 | "type": "line", |
| 506 | "kinds": ["minor_road", "other"], |
| 507 | "forbid_flags": ["bridge", "tunnel", "link"], |
| 508 | "forbid_details": ["service"], |
| 509 | "light": "#ffffff", |
| 510 | "dark": "#34383f", |
| 511 | "width": { |
| 512 | "interpolate": "exponential", |
| 513 | "base": 1.6, |
| 514 | "stops": [[11, 0], [12.5, 0.5], [15, 2], [18, 11], [19, 22], [20, 44], [21, 88], [22, 176]] |
| 515 | } |
| 516 | }, |
| 517 | { |
| 518 | "id": "roads-major", |
| 519 | "authored": "roads_major", |
| 520 | "source": "roads", |
| 521 | "type": "line", |
| 522 | "kinds": ["major_road"], |
| 523 | "forbid_flags": ["bridge", "tunnel", "link"], |
| 524 | "light": "#ffffff", |
| 525 | "dark": "#464b54", |
| 526 | "width": { |
| 527 | "interpolate": "exponential", |
| 528 | "base": 1.6, |
| 529 | "stops": [[6, 0], [12, 1.6], [15, 3], [18, 13], [19, 26], [20, 52], [21, 104], [22, 208]] |
| 530 | } |
| 531 | }, |
| 532 | { |
| 533 | "id": "roads-highway", |
| 534 | "authored": "roads_highway", |
| 535 | "source": "roads", |
| 536 | "type": "line", |
| 537 | "kinds": ["highway"], |
| 538 | "forbid_flags": ["bridge", "tunnel", "link"], |
| 539 | "light": "#ffffff", |
| 540 | "dark": "#464b54", |
| 541 | "width": { |
| 542 | "interpolate": "exponential", |
| 543 | "base": 1.6, |
| 544 | "stops": [[3, 0], [6, 1.1], [12, 1.6], [15, 5], [18, 15], [19, 30], [20, 60], [21, 120], [22, 240]] |
| 545 | } |
| 546 | }, |
| 547 | { |
| 548 | "id": "roads-link", |
| 549 | "authored": "roads_link", |
| 550 | "source": "roads", |
| 551 | "type": "line", |
| 552 | "kinds": ["highway", "major_road", "minor_road"], |
| 553 | "require_flags": ["link"], |
| 554 | "light": "#ffffff", |
| 555 | "dark": "#464b54", |
| 556 | "width": { |
| 557 | "interpolate": "exponential", |
| 558 | "base": 1.6, |
| 559 | "stops": [[13, 0], [13.5, 1], [18, 11], [19, 22], [20, 44], [21, 88], [22, 176]] |
| 560 | } |
| 561 | }, |
| 562 | { |
| 563 | "id": "roads-bridges-highway", |
| 564 | "authored": "roads_bridges_highway", |
| 565 | "source": "roads", |
| 566 | "type": "line", |
| 567 | "kinds": ["highway"], |
| 568 | "require_flags": ["bridge"], |
| 569 | "forbid_flags": ["link"], |
| 570 | "light": "#ffffff", |
| 571 | "dark": "#464b54", |
| 572 | "width": { |
| 573 | "interpolate": "exponential", |
| 574 | "base": 1.6, |
| 575 | "stops": [[3, 0], [6, 1.1], [12, 1.6], [15, 5], [18, 15], [19, 30], [20, 60], [21, 120], [22, 240]] |
| 576 | } |
| 577 | }, |
| 578 | { |
| 579 | "id": "roads-bridges-major", |
| 580 | "authored": "roads_bridges_major", |
| 581 | "source": "roads", |
| 582 | "type": "line", |
| 583 | "kinds": ["major_road"], |
| 584 | "require_flags": ["bridge"], |
| 585 | "light": "#f5f5f5", |
| 586 | "dark": "#464b54", |
| 587 | "minzoom": 12, |
| 588 | "width": { |
| 589 | "interpolate": "exponential", |
| 590 | "base": 1.6, |
| 591 | "stops": [[6, 0], [12, 1.6], [15, 3], [18, 13], [19, 26], [20, 52], [21, 104], [22, 208]] |
| 592 | } |
| 593 | }, |
| 594 | { |
| 595 | "id": "roads-bridges-minor", |
| 596 | "authored": "roads_bridges_minor", |
| 597 | "source": "roads", |
| 598 | "type": "line", |
| 599 | "kinds": ["minor_road"], |
| 600 | "require_flags": ["bridge"], |
| 601 | "light": "#ffffff", |
| 602 | "dark": "#34383f", |
| 603 | "minzoom": 12, |
| 604 | "width": { |
| 605 | "interpolate": "exponential", |
| 606 | "base": 1.6, |
| 607 | "stops": [[11, 0], [12.5, 0.5], [15, 2], [18, 11], [19, 22], [20, 44], [21, 88], [22, 176]] |
| 608 | } |
| 609 | }, |
| 610 | { |
| 611 | "id": "roads-bridges-link", |
| 612 | "authored": "roads_bridges_link", |
| 613 | "source": "roads", |
| 614 | "type": "line", |
| 615 | "kinds": ["highway", "major_road", "minor_road"], |
| 616 | "require_flags": ["bridge", "link"], |
| 617 | "light": "#ffffff", |
| 618 | "dark": "#464b54", |
| 619 | "minzoom": 12, |
| 620 | "width": { |
| 621 | "interpolate": "exponential", |
| 622 | "base": 1.6, |
| 623 | "stops": [[13, 0], [13.5, 1], [18, 11], [19, 22], [20, 44], [21, 88], [22, 176]] |
| 624 | } |
| 625 | }, |
| 626 | { |
| 627 | "id": "roads-bridges-other", |
| 628 | "authored": "roads_bridges_other", |
| 629 | "source": "roads", |
| 630 | "type": "line", |
| 631 | "kinds": ["other", "path"], |
| 632 | "require_flags": ["bridge"], |
| 633 | "light": "#ebebeb", |
| 634 | "dark": "#26282e", |
| 635 | "minzoom": 12, |
| 636 | "width": { |
| 637 | "interpolate": "exponential", |
| 638 | "base": 1.6, |
| 639 | "stops": [[14, 0], [20, 7], [21, 14], [22, 28]] |
| 640 | }, |
| 641 | "dash": [2, 1] |
| 642 | }, |
| 643 | { |
| 644 | "id": "roads-minor-service", |
| 645 | "authored": "roads_minor_service", |
| 646 | "source": "roads", |
| 647 | "type": "line", |
| 648 | "kinds": ["minor_road"], |
| 649 | "forbid_flags": ["bridge", "tunnel", "link"], |
| 650 | "details": ["service"], |
| 651 | "light": "#ebebeb", |
| 652 | "dark": "#34383f", |
| 653 | "width": { |
| 654 | "interpolate": "exponential", |
| 655 | "base": 1.6, |
| 656 | "stops": [[13, 0], [18, 8], [19, 16], [20, 32], [21, 64], [22, 128]] |
| 657 | } |
| 658 | }, |
| 659 | { |
| 660 | "id": "roads-rail", |
| 661 | "authored": "roads_rail", |
| 662 | "source": "roads", |
| 663 | "type": "line", |
| 664 | "kinds": ["rail"], |
| 665 | "light": "#a7b1b3", |
| 666 | "dark": "#3a3e45", |
| 667 | "opacity": 0.5, |
| 668 | "width": { |
| 669 | "interpolate": "exponential", |
| 670 | "base": 1.6, |
| 671 | "stops": [[3, 0], [6, 0.15], [18, 9]] |
| 672 | }, |
| 673 | "dash": [0.3, 0.75] |
| 674 | }, |
| 675 | { |
| 676 | "id": "boundaries", |
| 677 | "authored": "boundaries_country", |
| 678 | "source": "boundaries", |
| 679 | "type": "line", |
| 680 | "kinds": ["country", "region", "county", "locality"], |
| 681 | "light": "#a8a296", |
| 682 | "dark": "#4a4f57", |
| 683 | "width": 0.7, |
| 684 | "dash": [2, 0] |
| 685 | }, |
| 686 | { |
| 687 | "id": "transit-intercity", |
| 688 | "authored": "roads_rail", |
| 689 | "source": "transit", |
| 690 | "type": "line", |
| 691 | "kinds": ["rail"], |
| 692 | "details": ["intercity"], |
| 693 | "toggle": "transit", |
| 694 | "minzoom": 3, |
| 695 | "maxzoom": 7, |
| 696 | "light": "#8b93a8", |
| 697 | "dark": "#4b5468", |
| 698 | "width": { "interpolate": "linear", "stops": [[3, 1.5], [7, 2.5]] } |
| 699 | }, |
| 700 | { |
| 701 | "id": "transit-rail", |
| 702 | "authored": "roads_rail", |
| 703 | "source": "transit", |
| 704 | "type": "line", |
| 705 | "kinds": ["rail"], |
| 706 | "toggle": "transit", |
| 707 | "minzoom": 8, |
| 708 | "light": "#8b93a8", |
| 709 | "dark": "#4b5468", |
| 710 | "width": 3.0, |
| 711 | "spread": 6.0, |
| 712 | "lanes": { "interpolate": "linear", "stops": [[0, 1], [9, 2], [11, 3], [13, 4]] } |
| 713 | }, |
| 714 | { |
| 715 | "id": "roads-carriageway", |
| 716 | "authored": "roads_major", |
| 717 | "source": "roads", |
| 718 | "type": "line", |
| 719 | "carriageway": true, |
| 720 | "kinds": ["highway", "major_road", "minor_road"], |
| 721 | "forbid_flags": ["tunnel"], |
| 722 | "minzoom": 16, |
| 723 | "light": "#c8ccd3", |
| 724 | "dark": "#3a3f47", |
| 725 | "width": { |
| 726 | "interpolate": "exponential", |
| 727 | "base": 2.0, |
| 728 | "stops": [[16, 3.0], [18, 11.0], [20, 40.0], [22, 160.0]] |
| 729 | } |
| 730 | }, |
| 731 | { |
| 732 | "id": "junction-connector", |
| 733 | "authored": "roads_major", |
| 734 | "source": "junction", |
| 735 | "type": "line", |
| 736 | "carriageway": true, |
| 737 | "minzoom": 16, |
| 738 | "light": "#c8ccd3", |
| 739 | "dark": "#3a3f47", |
| 740 | "width": { |
| 741 | "interpolate": "exponential", |
| 742 | "base": 2.0, |
| 743 | "stops": [[16, 3.0], [18, 11.0], [20, 40.0], [22, 160.0]] |
| 744 | } |
| 745 | }, |
| 746 | { |
| 747 | "id": "poi-outdoor", |
| 748 | "authored": "pois", |
| 749 | "source": "poi", |
| 750 | "type": "symbol", |
| 751 | "kinds": ["beach", "forest", "marina", "park", "peak", "zoo", "garden", "bench"], |
| 752 | "toggle": "poi", |
| 753 | "icon": true, |
| 754 | "light": "#20834d", |
| 755 | "dark": "#20834d", |
| 756 | "text_size": { "interpolate": "linear", "stops": [[17, 10], [19, 16]] }, |
| 757 | "text_max_width": 8, |
| 758 | "text_offset": [1.1, 0], |
| 759 | "variable_anchor": ["left", "right"], |
| 760 | "halo_light": "#e2dfda", |
| 761 | "halo_dark": "#0d1b2a", |
| 762 | "halo_width": 1 |
| 763 | }, |
| 764 | { |
| 765 | "id": "poi-transport", |
| 766 | "authored": "pois", |
| 767 | "source": "poi", |
| 768 | "type": "symbol", |
| 769 | "kinds": ["aerodrome", "station", "bus_stop", "ferry_terminal", "fuel"], |
| 770 | "toggle": "poi", |
| 771 | "icon": true, |
| 772 | "light": "#315bcf", |
| 773 | "dark": "#315bcf", |
| 774 | "text_size": { "interpolate": "linear", "stops": [[17, 10], [19, 16]] }, |
| 775 | "text_max_width": 8, |
| 776 | "text_offset": [1.1, 0], |
| 777 | "variable_anchor": ["left", "right"], |
| 778 | "halo_light": "#e2dfda", |
| 779 | "halo_dark": "#0d1b2a", |
| 780 | "halo_width": 1 |
| 781 | }, |
| 782 | { |
| 783 | "id": "poi-civic", |
| 784 | "authored": "pois", |
| 785 | "source": "poi", |
| 786 | "type": "symbol", |
| 787 | "kinds": [ |
| 788 | "stadium", "university", "library", "school", "animal", "toilets", |
| 789 | "drinking_water", "post_office", "building", "townhall" |
| 790 | ], |
| 791 | "toggle": "poi", |
| 792 | "icon": true, |
| 793 | "light": "#6a5b8f", |
| 794 | "dark": "#6a5b8f", |
| 795 | "text_size": { "interpolate": "linear", "stops": [[17, 10], [19, 16]] }, |
| 796 | "text_max_width": 8, |
| 797 | "text_offset": [1.1, 0], |
| 798 | "variable_anchor": ["left", "right"], |
| 799 | "halo_light": "#e2dfda", |
| 800 | "halo_dark": "#0d1b2a", |
| 801 | "halo_width": 1 |
| 802 | }, |
| 803 | { |
| 804 | "id": "poi-shop", |
| 805 | "browse_minzoom": 14, |
| 806 | "authored": "pois", |
| 807 | "source": "poi", |
| 808 | "type": "symbol", |
| 809 | "kinds": [ |
| 810 | "supermarket", |
| 811 | "convenience", |
| 812 | "books", |
| 813 | "beauty", |
| 814 | "electronics", |
| 815 | "clothes", |
| 816 | "hotel", |
| 817 | "bank", |
| 818 | "atm" |
| 819 | ], |
| 820 | "toggle": "poi", |
| 821 | "icon": true, |
| 822 | "light": "#1a8cbd", |
| 823 | "dark": "#1a8cbd", |
| 824 | "text_size": { "interpolate": "linear", "stops": [[17, 10], [19, 16]] }, |
| 825 | "text_max_width": 8, |
| 826 | "text_offset": [1.1, 0], |
| 827 | "variable_anchor": ["left", "right"], |
| 828 | "halo_light": "#e2dfda", |
| 829 | "halo_dark": "#0d1b2a", |
| 830 | "halo_width": 1 |
| 831 | }, |
| 832 | { |
| 833 | "id": "poi-food", |
| 834 | "browse_minzoom": 14, |
| 835 | "authored": "pois", |
| 836 | "source": "poi", |
| 837 | "type": "symbol", |
| 838 | "kinds": ["restaurant", "fast_food", "cafe", "bar"], |
| 839 | "toggle": "poi", |
| 840 | "icon": true, |
| 841 | "light": "#cb6704", |
| 842 | "dark": "#cb6704", |
| 843 | "text_size": { "interpolate": "linear", "stops": [[17, 10], [19, 16]] }, |
| 844 | "text_max_width": 8, |
| 845 | "text_offset": [1.1, 0], |
| 846 | "variable_anchor": ["left", "right"], |
| 847 | "halo_light": "#e2dfda", |
| 848 | "halo_dark": "#0d1b2a", |
| 849 | "halo_width": 1 |
| 850 | }, |
| 851 | { |
| 852 | "id": "poi-culture", |
| 853 | "authored": "pois", |
| 854 | "source": "poi", |
| 855 | "type": "symbol", |
| 856 | "kinds": ["attraction", "museum", "theatre", "artwork"], |
| 857 | "toggle": "poi", |
| 858 | "icon": true, |
| 859 | "light": "#ef56ba", |
| 860 | "dark": "#ef56ba", |
| 861 | "text_size": { "interpolate": "linear", "stops": [[17, 10], [19, 16]] }, |
| 862 | "text_max_width": 8, |
| 863 | "text_offset": [1.1, 0], |
| 864 | "variable_anchor": ["left", "right"], |
| 865 | "halo_light": "#e2dfda", |
| 866 | "halo_dark": "#0d1b2a", |
| 867 | "halo_width": 1 |
| 868 | }, |
| 869 | { |
| 870 | "id": "safety-points", |
| 871 | "authored": "safety", |
| 872 | "source": "safety", |
| 873 | "type": "symbol", |
| 874 | "kinds": ["speed_camera", "alpr", "surveillance", "stop_sign", "traffic_signals"], |
| 875 | "toggle": "safety", |
| 876 | "icon": true, |
| 877 | "minzoom": 16, |
| 878 | "light": "#5c5c5c", |
| 879 | "dark": "#d0d0d0", |
| 880 | "text_size": 10, |
| 881 | "halo_light": "#ffffff", |
| 882 | "halo_dark": "#0d1b2a", |
| 883 | "halo_width": 1 |
| 884 | }, |
| 885 | { |
| 886 | "id": "roads-label-major", |
| 887 | "authored": "roads_labels_major", |
| 888 | "source": "roads", |
| 889 | "type": "symbol", |
| 890 | "kinds": ["highway", "major_road"], |
| 891 | "minzoom": 11, |
| 892 | "light": "#938a8d", |
| 893 | "dark": "#c9c2c4", |
| 894 | "text_size": 12, |
| 895 | "halo_light": "#ffffff", |
| 896 | "halo_dark": "#0d1b2a", |
| 897 | "halo_width": 1 |
| 898 | }, |
| 899 | { |
| 900 | "id": "roads-label-minor", |
| 901 | "authored": "roads_labels_minor", |
| 902 | "source": "roads", |
| 903 | "type": "symbol", |
| 904 | "kinds": ["minor_road", "other", "path"], |
| 905 | "minzoom": 15, |
| 906 | "light": "#91888b", |
| 907 | "dark": "#bdb6b8", |
| 908 | "text_size": 12, |
| 909 | "halo_light": "#ffffff", |
| 910 | "halo_dark": "#0d1b2a", |
| 911 | "halo_width": 1 |
| 912 | }, |
| 913 | { |
| 914 | "id": "waterway-label", |
| 915 | "authored": "water_waterway_label", |
| 916 | "source": "landtype", |
| 917 | "type": "symbol", |
| 918 | "kinds": ["river", "stream"], |
| 919 | "minzoom": 13, |
| 920 | "light": "#728dd4", |
| 921 | "dark": "#8fa5df", |
| 922 | "text_size": 12, |
| 923 | "halo_light": "#80deea", |
| 924 | "halo_dark": "#0d1b2a", |
| 925 | "halo_width": 1 |
| 926 | }, |
| 927 | { |
| 928 | "id": "places-country", |
| 929 | "authored": "places_country", |
| 930 | "source": "places", |
| 931 | "type": "symbol", |
| 932 | "kinds": ["country"], |
| 933 | "light": "#a3a3a3", |
| 934 | "dark": "#a3a3a3", |
| 935 | "text_size": { "interpolate": "linear", "stops": [[2, 8], [6, 10], [8, 11]] }, |
| 936 | "text_size_large": { "interpolate": "linear", "stops": [[2, 12], [6, 18], [8, 20]] }, |
| 937 | "rank_threshold": { "interpolate": "linear", "stops": [[2, 10], [6, 8], [8, 7]] }, |
| 938 | "uppercase": true, |
| 939 | "medium": true, |
| 940 | "halo_light": "#ffffff", |
| 941 | "halo_dark": "#0d1b2a", |
| 942 | "halo_width": 1 |
| 943 | }, |
| 944 | { |
| 945 | "id": "places-region", |
| 946 | "authored": "places_region", |
| 947 | "source": "places", |
| 948 | "type": "symbol", |
| 949 | "kinds": ["region"], |
| 950 | "light": "#b3b3b3", |
| 951 | "dark": "#b3b3b3", |
| 952 | "text_size": { "interpolate": "linear", "stops": [[3, 11], [7, 16]] }, |
| 953 | "uppercase": true, |
| 954 | "halo_light": "#ffffff", |
| 955 | "halo_dark": "#0d1b2a", |
| 956 | "halo_width": 1 |
| 957 | }, |
| 958 | { |
| 959 | "id": "places-locality", |
| 960 | "authored": "places_locality", |
| 961 | "source": "places", |
| 962 | "type": "symbol", |
| 963 | "kinds": ["locality"], |
| 964 | "light": "#5c5c5c", |
| 965 | "dark": "#5c5c5c", |
| 966 | "text_size": { "interpolate": "linear", "stops": [[2, 8], [4, 10], [6, 11], [8, 11], [10, 12], [15, 12]] }, |
| 967 | "text_size_large": { "interpolate": "linear", "stops": [[2, 13], [4, 15], [6, 17], [8, 18], [10, 20], [15, 22]] }, |
| 968 | "rank_threshold": { "interpolate": "linear", "stops": [[2, 13], [4, 13], [6, 12], [8, 11], [10, 9], [15, 8]] }, |
| 969 | "halo_light": "#ffffff", |
| 970 | "halo_dark": "#0d1b2a", |
| 971 | "halo_width": 1.5, |
| 972 | "minzoom": 2 |
| 973 | }, |
| 974 | { |
| 975 | "id": "places-subplace", |
| 976 | "authored": "places_subplace", |
| 977 | "source": "places", |
| 978 | "type": "symbol", |
| 979 | "kinds": ["neighbourhood", "macrohood"], |
| 980 | "light": "#8f8f8f", |
| 981 | "dark": "#8f8f8f", |
| 982 | "minzoom": 10, |
| 983 | "text_size": { "interpolate": "linear", "stops": [[11, 8], [14, 14], [18, 24]] }, |
| 984 | "uppercase": true, |
| 985 | "halo_light": "#ffffff", |
| 986 | "halo_dark": "#0d1b2a", |
| 987 | "halo_width": 1 |
| 988 | } |
| 989 | ] |
| 990 | } |