@datagouv/components-next 0.0.7 → 0.0.9

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