@tmf_ciclica/ciclicastorybook 1.0.12 → 1.0.15

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 (134) hide show
  1. package/package.json +32 -54
  2. package/.storybook/main.js +0 -21
  3. package/.storybook/preview.jsx +0 -31
  4. package/eslint.config.js +0 -38
  5. package/index.html +0 -13
  6. package/public/vite.svg +0 -1
  7. package/src/App.css +0 -0
  8. package/src/App.jsx +0 -36
  9. package/src/_variables.scss +0 -56
  10. package/src/assets/img/arrowDown.svg +0 -3
  11. package/src/assets/img/closeIcon.svg +0 -4
  12. package/src/assets/img/copyIcon.svg +0 -17
  13. package/src/assets/img/deleteIcon.svg +0 -6
  14. package/src/assets/img/eyeActiveIcon.svg +0 -6
  15. package/src/assets/img/eyeNotActiveIcon.svg +0 -8
  16. package/src/assets/img/filtersIcon.svg +0 -6
  17. package/src/assets/img/langarrow.png +0 -0
  18. package/src/assets/img/pause.svg +0 -5
  19. package/src/assets/img/play.svg +0 -4
  20. package/src/assets/img/processingIcon.svg +0 -20
  21. package/src/assets/img/sample-image.png +0 -0
  22. package/src/assets/img/sample2.png +0 -0
  23. package/src/assets/img/world.svg +0 -3
  24. package/src/assets/mapStyles/mapStyle.js +0 -781
  25. package/src/components/AmbitSelector/AmbitItem/AmbitItem.jsx +0 -74
  26. package/src/components/AmbitSelector/AmbitItem/AmbitItem.module.scss +0 -27
  27. package/src/components/AmbitSelector/AmbitSelector.jsx +0 -68
  28. package/src/components/AmbitSelector/AmbitSelector.module.scss +0 -29
  29. package/src/components/AmbitSelector/AmbitSelector.stories.jsx +0 -21
  30. package/src/components/ButtonsList/ButtonsList.jsx +0 -92
  31. package/src/components/ButtonsList/ButtonsList.module.scss +0 -37
  32. package/src/components/ButtonsList/ButtonsList.stories.jsx +0 -55
  33. package/src/components/DropdownList/DropdownList.jsx +0 -69
  34. package/src/components/DropdownList/DropdownList.module.scss +0 -20
  35. package/src/components/DropdownList/DropdownList.stories.jsx +0 -22
  36. package/src/components/DropdownList/DropdownListExample/DropDownListExample.jsx +0 -33
  37. package/src/components/DropdownList/DropdownListExample/DropdownListExample.stories.jsx +0 -11
  38. package/src/components/EditAmbit/EditAmbit.jsx +0 -7
  39. package/src/components/FiltersAmbit/AppliedFilters/AppliedFilters.jsx +0 -57
  40. package/src/components/FiltersAmbit/AppliedFilters/AppliedFilters.module.scss +0 -13
  41. package/src/components/FiltersAmbit/AppliedFilters/AppliedFilters.stories.jsx +0 -47
  42. package/src/components/FiltersAmbit/FiltersAmbit.jsx +0 -58
  43. package/src/components/FiltersAmbit/FiltersAmbit.module.scss +0 -28
  44. package/src/components/FiltersAmbit/FiltersAmbit.stories.jsx +0 -36
  45. package/src/components/FiltersAmbit/GeographicFilters/GeographicalFilters.jsx +0 -33
  46. package/src/components/FiltersAmbit/GeographicFilters/GeographicalFilters.module.scss +0 -13
  47. package/src/components/FiltersAmbit/GeographicFilters/GeographicalFilters.stories.jsx +0 -47
  48. package/src/components/FiltersAmbit/TematicalFilters/TematicalFilters.jsx +0 -83
  49. package/src/components/FiltersAmbit/TematicalFilters/TematicalFilters.module.scss +0 -8
  50. package/src/components/FiltersAmbit/TematicalFilters/TematicalFilters.stories.jsx +0 -17
  51. package/src/components/FiltersAmbit/TematicalFilters/TematicalFiltersCategory/TematicalFiltersCategory.jsx +0 -60
  52. package/src/components/FiltersAmbit/TematicalFilters/TematicalFiltersInput/AbsoluteSlider/AbsoluteSlider.jsx +0 -61
  53. package/src/components/FiltersAmbit/TematicalFilters/TematicalFiltersInput/AbsoluteSlider/AbsoluteSlider.module.scss +0 -45
  54. package/src/components/FiltersAmbit/TematicalFilters/TematicalFiltersInput/CategoryCheckbox/CategoryChackbox.module.scss +0 -18
  55. package/src/components/FiltersAmbit/TematicalFilters/TematicalFiltersInput/CategoryCheckbox/CategoryCheckbox.jsx +0 -47
  56. package/src/components/FiltersAmbit/TematicalFilters/TematicalFiltersInput/TematicalFiltersInput.jsx +0 -267
  57. package/src/components/FiltersAmbit/TematicalFilters/TematicalFiltersInput/TematicalFiltersInput.module.scss +0 -31
  58. package/src/components/FiltersAmbit/TematicalFilters/TematicalFiltersSubcat/TematicalFiltersSubcat.jsx +0 -58
  59. package/src/components/FiltersAmbit/useAmbitStore.jsx +0 -10
  60. package/src/components/Graphic/BarChart/BarChart.jsx +0 -146
  61. package/src/components/Graphic/BarChart/BarChart.module.scss +0 -5
  62. package/src/components/Graphic/BarChart/BarChart.stories.jsx +0 -18
  63. package/src/components/Graphic/Graphic.jsx +0 -55
  64. package/src/components/Graphic/Graphic.module.scss +0 -12
  65. package/src/components/Graphic/Graphic.stories.jsx +0 -25
  66. package/src/components/IndicatorsList/Indicator/Indicator.jsx +0 -180
  67. package/src/components/IndicatorsList/Indicator/Indicator.module.scss +0 -46
  68. package/src/components/IndicatorsList/IndicatorSubCategory/IndicatorSubCategory.jsx +0 -76
  69. package/src/components/IndicatorsList/IndicatorSubCategory/IndicatorSubCategory.module.scss +0 -12
  70. package/src/components/IndicatorsList/IndicatorsCategory/IndicatorsCategory.jsx +0 -122
  71. package/src/components/IndicatorsList/IndicatorsCategory/IndicatorsCategory.module.scss +0 -20
  72. package/src/components/IndicatorsList/IndicatorsList.jsx +0 -173
  73. package/src/components/IndicatorsList/IndicatorsList.module.scss +0 -10
  74. package/src/components/IndicatorsList/IndicatorsList.stories.jsx +0 -263
  75. package/src/components/LangSelector/LangSelector.jsx +0 -70
  76. package/src/components/LangSelector/LangSelector.module.scss +0 -41
  77. package/src/components/LangSelector/LangSelector.stories.jsx +0 -27
  78. package/src/components/Legend/Legend.jsx +0 -132
  79. package/src/components/Legend/Legend.module.scss +0 -121
  80. package/src/components/Legend/Legend.stories.jsx +0 -53
  81. package/src/components/LogoApp/LogoApp.jsx +0 -33
  82. package/src/components/LogoApp/LogoApp.module.scss +0 -7
  83. package/src/components/LogoApp/LogoApp.stories.jsx +0 -27
  84. package/src/components/MapboxMap/MapboxMap.jsx +0 -160
  85. package/src/components/MapboxMap/MapboxMap.module.scss +0 -4
  86. package/src/components/MapboxMap/MapboxMap.stories.jsx +0 -57
  87. package/src/components/MaplibreMap/MaplibreMap.jsx +0 -166
  88. package/src/components/MaplibreMap/MaplibreMap.module.scss +0 -5
  89. package/src/components/MaplibreMap/MaplibreMap.stories.jsx +0 -55
  90. package/src/components/SectionBar/SectionBar.jsx +0 -41
  91. package/src/components/SectionBar/SectionBar.module.scss +0 -40
  92. package/src/components/SectionBar/SectionBar.stories.jsx +0 -35
  93. package/src/components/TimeSlider/TimeSlider.jsx +0 -147
  94. package/src/components/TimeSlider/TimeSlider.module.scss +0 -63
  95. package/src/components/TimeSlider/TimeSlider.stories.jsx +0 -9
  96. package/src/components/Tooltip/Tooltip.jsx +0 -40
  97. package/src/components/Tooltip/Tooltip.module.scss +0 -141
  98. package/src/components/Tooltip/Tooltip.stories.jsx +0 -51
  99. package/src/components/TopNavMenu/TopNavMenu.jsx +0 -62
  100. package/src/components/TopNavMenu/TopNavMenu.module.scss +0 -21
  101. package/src/components/TopNavMenu/TopNavMenu.stories.jsx +0 -20
  102. package/src/components/UserMenuTrigger/UserMenuTrigger.jsx +0 -47
  103. package/src/components/UserMenuTrigger/UserMenuTrigger.module.scss +0 -5
  104. package/src/components/UserMenuTrigger/UserMenuTrigger.stories.jsx +0 -33
  105. package/src/components/index.jsx +0 -17
  106. package/src/constants/indicators.js +0 -1371
  107. package/src/constants/mapTexts.js +0 -161
  108. package/src/constants/textLayers.js +0 -639
  109. package/src/constants/topNavMenuOptions.js +0 -14
  110. package/src/i18n.js +0 -19
  111. package/src/index.jsx +0 -2
  112. package/src/index.scss +0 -87
  113. package/src/locales/ca.json +0 -8
  114. package/src/locales/es.json +0 -15
  115. package/src/main.jsx +0 -10
  116. package/src/sections/HeaderSection/HeaderSection.jsx +0 -51
  117. package/src/sections/HeaderSection/HeaderSection.module.scss +0 -33
  118. package/src/sections/HeaderSection/HeaderSection.stories.jsx +0 -61
  119. package/src/sections/RightSidebar/RightSidebar.jsx +0 -35
  120. package/src/sections/RightSidebar/RightSidebar.module.scss +0 -39
  121. package/src/sections/RightSidebar/RightSidebar.stories.jsx +0 -21
  122. package/src/sections/index.jsx +0 -2
  123. package/src/store/index.js +0 -1
  124. package/src/store/mapSlice/index.js +0 -1
  125. package/src/store/mapSlice/mapSlice.js +0 -30
  126. package/src/store/rightBarSlice/index.js +0 -1
  127. package/src/store/rightBarSlice/rightBarSlice.js +0 -28
  128. package/src/store/routerSlice/index.js +0 -1
  129. package/src/store/routerSlice/routerSlice.js +0 -14
  130. package/src/store/store.js +0 -14
  131. package/src/store/userSlice/index.js +0 -1
  132. package/src/store/userSlice/userSlice.js +0 -22
  133. package/tmf_ciclica-ciclicastorybook-1.0.8.tgz +0 -0
  134. package/vite.config.js +0 -49
@@ -1,781 +0,0 @@
1
- export default {
2
- "version": 8,
3
- "name": "Light",
4
- "metadata": {
5
- "mapbox:autocomposite": true,
6
- "mapbox:type": "template"
7
- },
8
- "sources": {
9
- "mapbox": {
10
- "url": "mapbox://mapbox.mapbox-streets-v7",
11
- "type": "vector",
12
- "attribution":"<a href='https://www.mapbox.com/about/maps/' target='_blank'>©Mapbox</a> | <a href='https://www.openstreetmap.org/about/' target='_blank'>©Open Street Maps</a> | <a href='http://urbanzeb.com' target='_blank'>urbanZEB</a>"
13
- },
14
- 'mapbox-dem': {
15
- 'type': 'raster-dem',
16
- 'url': 'mapbox://mapbox.mapbox-terrain-dem-v1',
17
- 'tileSize': 512,
18
- 'maxzoom': 14
19
- },
20
- "ciclica": {
21
- "url": "https://tiles.urbanzeb.com/VT_ComEner_31/data/arquitect.json",
22
- "type": "vector"
23
- },
24
- },
25
- "sprite": "mapbox://sprites/mapbox/basic-v9",
26
- "glyphs": "mapbox://fonts/openmaptiles/{fontstack}/{range}.pbf",
27
- "layers": [
28
- {
29
- "id": "background",
30
- "type": "background",
31
- "paint": {
32
- "background-color": "#ede8e8"
33
- }
34
- },
35
- // {
36
- // 'id': 'sky',
37
- // 'type': 'sky',
38
- // 'paint': {
39
- // 'sky-type': 'gradient',
40
- // 'sky-gradient': ["interpolate",["linear"],["sky-radial-progress"],0.8,"white",1,"#bbb"],
41
-
42
- // }
43
- // },
44
-
45
- {
46
- "id": "waterway",
47
- "type": "line",
48
- "metadata":"light",
49
- "source": "mapbox",
50
- "source-layer": "waterway",
51
- "filter": [
52
- "all",
53
- [
54
- "==",
55
- "$type",
56
- "LineString"
57
- ],
58
- [
59
- "in",
60
- "class",
61
- "river",
62
- "canal"
63
- ]
64
- ],
65
- "paint": {
66
- "line-color": "#fff",
67
- "line-width": {
68
- "base": 1.4,
69
- "stops": [
70
- [
71
- 8,
72
- 0.5
73
- ],
74
- [
75
- 20,
76
- 15
77
- ]
78
- ]
79
- }
80
- }
81
- },
82
- {
83
- "id": "water",
84
- "type": "fill",
85
- "metadata":"light",
86
- "source": "mapbox",
87
- "source-layer": "water",
88
- "paint": {
89
- "fill-color": "#fff"
90
- }
91
- },
92
- {
93
-
94
- "layout": {
95
- "line-cap": "butt",
96
- "line-join": "miter"
97
- },
98
- "filter": [
99
- "all",
100
- [
101
- "==",
102
- "$type",
103
- "LineString"
104
- ],
105
- [
106
- "all",
107
- [
108
- "in",
109
- "class",
110
- "motorway_link",
111
- "street",
112
- "street_limited",
113
- "service",
114
- "track",
115
- "pedestrian",
116
- "path",
117
- "link"
118
- ],
119
- [
120
- "==",
121
- "structure",
122
- "tunnel"
123
- ]
124
- ]
125
- ],
126
- "type": "line",
127
- "source": "mapbox",
128
- "id": "tunnel_minor",
129
- "paint": {
130
- "line-color": "#dbd6d6",
131
- "line-width": {
132
- "base": 1.55,
133
- "stops": [
134
- [
135
- 4,
136
- 0.25
137
- ],
138
- [
139
- 20,
140
- 30
141
- ]
142
- ]
143
- },
144
- "line-dasharray": [
145
- 0.36,
146
- 0.18
147
- ]
148
- },
149
- "source-layer": "road"
150
- },
151
- {
152
-
153
- "layout": {
154
- "line-cap": "butt",
155
- "line-join": "miter"
156
- },
157
- "filter": [
158
- "all",
159
- [
160
- "==",
161
- "$type",
162
- "LineString"
163
- ],
164
- [
165
- "all",
166
- [
167
- "in",
168
- "class",
169
- "motorway",
170
- "primary",
171
- "secondary",
172
- "tertiary",
173
- "trunk"
174
- ],
175
- [
176
- "==",
177
- "structure",
178
- "tunnel"
179
- ]
180
- ]
181
- ],
182
- "type": "line",
183
- "source": "mapbox",
184
- "id": "tunnel_major",
185
- "paint": {
186
- "line-color": "#dbd6d6",
187
- "line-width": {
188
- "base": 1.4,
189
- "stops": [
190
- [
191
- 6,
192
- 0.5
193
- ],
194
- [
195
- 20,
196
- 30
197
- ]
198
- ]
199
- },
200
- "line-dasharray": [
201
- 0.28,
202
- 0.14
203
- ]
204
- },
205
- "source-layer": "road"
206
- },
207
- {
208
-
209
- "layout": {
210
- "line-cap": "round",
211
- "line-join": "round"
212
- },
213
- "filter": [
214
- "all",
215
- [
216
- "==",
217
- "$type",
218
- "LineString"
219
- ],
220
- [
221
- "all",
222
- [
223
- "in",
224
- "class",
225
- "motorway_link",
226
- "street",
227
- "street_limited",
228
- "service",
229
- "track",
230
- "pedestrian",
231
- "path",
232
- "link"
233
- ],
234
- [
235
- "in",
236
- "structure",
237
- "none",
238
- "ford"
239
- ]
240
- ]
241
- ],
242
- "type": "line",
243
- "source": "mapbox",
244
- "id": "road_minor",
245
- "paint": {
246
- "line-color": "#dbd6d6",
247
- "line-width": {
248
- "base": 1.55,
249
- "stops": [
250
- [
251
- 4,
252
- 0.25
253
- ],
254
- [
255
- 20,
256
- 30
257
- ]
258
- ]
259
- }
260
- },
261
- "source-layer": "road"
262
- },
263
- {
264
-
265
- "layout": {
266
- "line-cap": "round",
267
- "line-join": "round"
268
- },
269
- "filter": [
270
- "all",
271
- [
272
- "==",
273
- "$type",
274
- "LineString"
275
- ],
276
- [
277
- "all",
278
- [
279
- "in",
280
- "class",
281
- "motorway",
282
- "primary",
283
- "secondary",
284
- "tertiary",
285
- "trunk"
286
- ],
287
- [
288
- "in",
289
- "structure",
290
- "none",
291
- "ford"
292
- ]
293
- ]
294
- ],
295
- "type": "line",
296
- "source": "mapbox",
297
- "id": "road_major",
298
- "paint": {
299
- "line-color": "#dbd6d6",
300
- "line-width": {
301
- "base": 1.4,
302
- "stops": [
303
- [
304
- 6,
305
- 0.5
306
- ],
307
- [
308
- 20,
309
- 30
310
- ]
311
- ]
312
- }
313
- },
314
- "source-layer": "road"
315
- },
316
- {
317
-
318
- "layout": {
319
- "line-cap": "butt",
320
- "line-join": "miter"
321
- },
322
- "filter": [
323
- "all",
324
- [
325
- "==",
326
- "$type",
327
- "LineString"
328
- ],
329
- [
330
- "all",
331
- [
332
- "in",
333
- "class",
334
- "motorway_link",
335
- "street",
336
- "street_limited",
337
- "service",
338
- "track",
339
- "pedestrian",
340
- "path",
341
- "link"
342
- ],
343
- [
344
- "==",
345
- "structure",
346
- "bridge"
347
- ]
348
- ]
349
- ],
350
- "type": "line",
351
- "source": "mapbox",
352
- "id": "bridge_minor case",
353
- "paint": {
354
- "line-color": "#bfbfbf",
355
- "line-width": {
356
- "base": 1.6,
357
- "stops": [
358
- [
359
- 12,
360
- 0.5
361
- ],
362
- [
363
- 20,
364
- 10
365
- ]
366
- ]
367
- },
368
- "line-gap-width": {
369
- "base": 1.55,
370
- "stops": [
371
- [
372
- 4,
373
- 0.25
374
- ],
375
- [
376
- 20,
377
- 30
378
- ]
379
- ]
380
- }
381
- },
382
- "source-layer": "road"
383
- },
384
- {
385
-
386
- "layout": {
387
- "line-cap": "butt",
388
- "line-join": "miter"
389
- },
390
- "filter": [
391
- "all",
392
- [
393
- "==",
394
- "$type",
395
- "LineString"
396
- ],
397
- [
398
- "all",
399
- [
400
- "in",
401
- "class",
402
- "motorway",
403
- "primary",
404
- "secondary",
405
- "tertiary",
406
- "trunk"
407
- ],
408
- [
409
- "==",
410
- "structure",
411
- "bridge"
412
- ]
413
- ]
414
- ],
415
- "type": "line",
416
- "source": "mapbox",
417
- "id": "bridge_major case",
418
- "paint": {
419
- "line-color": "#bfbfbf",
420
- "line-width": {
421
- "base": 1.6,
422
- "stops": [
423
- [
424
- 12,
425
- 0.5
426
- ],
427
- [
428
- 20,
429
- 10
430
- ]
431
- ]
432
- },
433
- "line-gap-width": {
434
- "base": 1.55,
435
- "stops": [
436
- [
437
- 4,
438
- 0.25
439
- ],
440
- [
441
- 20,
442
- 30
443
- ]
444
- ]
445
- }
446
- },
447
- "source-layer": "road"
448
- },
449
- {
450
-
451
- "layout": {
452
- "line-cap": "round",
453
- "line-join": "round"
454
- },
455
- "filter": [
456
- "all",
457
- [
458
- "==",
459
- "$type",
460
- "LineString"
461
- ],
462
- [
463
- "all",
464
- [
465
- "in",
466
- "class",
467
- "motorway_link",
468
- "street",
469
- "street_limited",
470
- "service",
471
- "track",
472
- "pedestrian",
473
- "path",
474
- "link"
475
- ],
476
- [
477
- "==",
478
- "structure",
479
- "bridge"
480
- ]
481
- ]
482
- ],
483
- "type": "line",
484
- "source": "mapbox",
485
- "id": "bridge_minor",
486
- "paint": {
487
- "line-color": "#b6b3b3",
488
- "line-width": {
489
- "base": 1.55,
490
- "stops": [
491
- [
492
- 4,
493
- 0.25
494
- ],
495
- [
496
- 20,
497
- 30
498
- ]
499
- ]
500
- }
501
- },
502
- "source-layer": "road"
503
- },
504
- {
505
-
506
- "layout": {
507
- "line-cap": "round",
508
- "line-join": "round"
509
- },
510
- "filter": [
511
- "all",
512
- [
513
- "==",
514
- "$type",
515
- "LineString"
516
- ],
517
- [
518
- "all",
519
- [
520
- "in",
521
- "class",
522
- "motorway",
523
- "primary",
524
- "secondary",
525
- "tertiary",
526
- "trunk"
527
- ],
528
- [
529
- "==",
530
- "structure",
531
- "bridge"
532
- ]
533
- ]
534
- ],
535
- "type": "line",
536
- "source": "mapbox",
537
- "id": "bridge_major",
538
- "paint": {
539
- "line-color": "#b6b3b3",
540
- "line-width": {
541
- "base": 1.4,
542
- "stops": [
543
- [
544
- 6,
545
- 0.5
546
- ],
547
- [
548
- 20,
549
- 30
550
- ]
551
- ]
552
- }
553
- },
554
- "source-layer": "road"
555
- },
556
- {
557
-
558
- "layout": {
559
- "line-cap": "round",
560
- "line-join": "round"
561
- },
562
- "filter": [
563
- "all",
564
- [
565
- "==",
566
- "$type",
567
- "LineString"
568
- ],
569
- [
570
- "all",
571
- [
572
- "<=",
573
- "admin_level",
574
- 2
575
- ],
576
- [
577
- "==",
578
- "maritime",
579
- 0
580
- ]
581
- ]
582
- ],
583
- "type": "line",
584
- "source": "mapbox",
585
- "id": "admin_country",
586
- "paint": {
587
- "line-color": "#cecece",
588
- "line-width": {
589
- "base": 1.3,
590
- "stops": [
591
- [
592
- 3,
593
- 0.5
594
- ],
595
- [
596
- 22,
597
- 15
598
- ]
599
- ]
600
- }
601
- },
602
- "source-layer": "admin"
603
- },
604
- {
605
- "id": 'city',
606
- "type": 'fill',
607
- "source": "ciclica",
608
- 'source-layer': "full",
609
- 'paint': {
610
- 'fill-color': '#cfcece',
611
- 'fill-opacity': 0.5,
612
- 'fill-opacity-transition': {duration: 2000}
613
- },
614
- "interactive": true
615
- },
616
- //type: symbol
617
- {
618
-
619
- "layout": {
620
- "symbol-placement": "line",
621
- "text-field": "{name_en}",
622
- "text-font": [
623
- "Open Sans Semibold",
624
- "Arial Unicode MS Bold"
625
- ],
626
- "text-transform": "uppercase",
627
- "text-letter-spacing": 0.1,
628
- "text-size": {
629
- "base": 1.4,
630
- "stops": [
631
- [
632
- 10,
633
- 8
634
- ],
635
- [
636
- 20,
637
- 14
638
- ]
639
- ]
640
- }
641
- },
642
- "filter": [
643
- "all",
644
- [
645
- "==",
646
- "$type",
647
- "LineString"
648
- ],
649
- [
650
- "in",
651
- "class",
652
- "motorway",
653
- "primary",
654
- "secondary",
655
- "tertiary",
656
- "trunk",
657
- "street",
658
- "street_limited"
659
- ]
660
- ],
661
- "type": "symbol",
662
- "source": "mapbox",
663
- "id": "road_major_label",
664
- "paint": {
665
- "text-color": "#888",
666
- "text-halo-color": "rgba(255,255,255,1)",
667
- "text-halo-width": 2
668
- },
669
- "source-layer": "road_label"
670
- },
671
- {
672
-
673
- "minzoom": 8,
674
- "layout": {
675
- "text-field": "{name_en}",
676
- "text-font": [
677
- "PT Sans Regular",
678
- "Arial Unicode MS Regular"
679
- ],
680
- "text-max-width": 6,
681
- "text-size": {
682
- "stops": [
683
- [
684
- 6,
685
- 8
686
- ],
687
- [
688
- 12,
689
- 12
690
- ]
691
- ]
692
- },
693
- "text-transform": "uppercase"
694
- },
695
- "filter": [
696
- "all",
697
- [
698
- "==",
699
- "$type",
700
- "Point"
701
- ],
702
- [
703
- "in",
704
- "type",
705
- "town",
706
- "village",
707
- "hamlet",
708
- "suburb",
709
- "neighbourhood",
710
- "island"
711
- ]
712
- ],
713
- "type": "symbol",
714
- "source": "mapbox",
715
- "id": "place_label_other",
716
- "paint": {
717
- "text-color": "#888",
718
- "text-halo-color": "rgba(255,255,255,1)",
719
- "text-halo-width": 1,
720
- "text-halo-blur": 1
721
- },
722
- "source-layer": "place_label"
723
- },
724
- {
725
-
726
- "layout": {
727
- "text-field": "{name_en}",
728
- "text-font": [
729
- "PT Sans Regular",
730
- "Arial Unicode MS Regular"
731
- ],
732
- "text-transform": "uppercase",
733
- "text-max-width": 10,
734
- "text-size": {
735
- "stops": [
736
- [
737
- 3,
738
- 10
739
- ],
740
- [
741
- 8,
742
- 14
743
- ]
744
- ]
745
- }
746
- },
747
- "maxzoom": 16,
748
- "filter": [
749
- "all",
750
- [
751
- "==",
752
- "$type",
753
- "Point"
754
- ],
755
- [
756
- "==",
757
- "type",
758
- "city"
759
- ]
760
- ],
761
- "type": "symbol",
762
- "source": "mapbox",
763
- "id": "place_label_city",
764
- "paint": {
765
- "text-color": "#777",
766
- "text-halo-color": "rgba(255,255,255,1)",
767
- "text-halo-width": 1,
768
- "text-halo-blur": 1
769
- },
770
- "source-layer": "place_label"
771
- },
772
-
773
-
774
-
775
- ],
776
- "light": {
777
- "anchor": "map",
778
- "color": "white",
779
- "intensity": 0.4
780
- }
781
- }