@swr-data-lab/components 2.14.0 → 2.15.1
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.
- package/dist/DesignTokens/DesignTokens.svelte +2 -0
- package/dist/DesignTokens/Tokens.js +5 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/maplibre/AttributionControl/AttributionControl.svelte +1 -0
- package/dist/maplibre/GeocoderControl/GeocoderControl.svelte +20 -13
- package/dist/maplibre/Map/Map.svelte +19 -11
- package/dist/maplibre/MapStyle/SWRDataLabDark.d.ts +9 -0
- package/dist/maplibre/MapStyle/SWRDataLabDark.js +118 -0
- package/dist/maplibre/MapStyle/SWRDataLabLight.js +39 -7
- package/dist/maplibre/MapStyle/components/Admin.d.ts +1 -1
- package/dist/maplibre/MapStyle/components/Admin.js +6 -12
- package/dist/maplibre/MapStyle/components/Buildings.d.ts +1 -1
- package/dist/maplibre/MapStyle/components/Buildings.js +12 -13
- package/dist/maplibre/MapStyle/components/Landuse.d.ts +1 -1
- package/dist/maplibre/MapStyle/components/Landuse.js +5 -20
- package/dist/maplibre/MapStyle/components/PlaceLabels.d.ts +1 -1
- package/dist/maplibre/MapStyle/components/PlaceLabels.js +2 -3
- package/dist/maplibre/MapStyle/components/Roads.d.ts +1 -1
- package/dist/maplibre/MapStyle/components/Roads.js +173 -202
- package/dist/maplibre/MapStyle/components/Transit.d.ts +1 -1
- package/dist/maplibre/MapStyle/components/Transit.js +43 -44
- package/dist/maplibre/MapStyle/components/Walking.d.ts +1 -1
- package/dist/maplibre/MapStyle/components/Walking.js +61 -209
- package/dist/maplibre/MapStyle/icons/pin-14-dark.svg +10 -0
- package/dist/maplibre/MapStyle/index.d.ts +2 -1
- package/dist/maplibre/MapStyle/index.js +2 -1
- package/dist/maplibre/MapStyle/sprite/sprite.json +1 -1
- package/dist/maplibre/MapStyle/sprite/sprite.png +0 -0
- package/dist/maplibre/MapStyle/sprite/sprite@2x.json +1 -1
- package/dist/maplibre/MapStyle/sprite/sprite@2x.png +0 -0
- package/dist/maplibre/MapStyle/storyLocations.d.ts +47 -0
- package/dist/maplibre/MapStyle/storyLocations.js +21 -0
- package/dist/maplibre/NavigationControl/NavigationControl.svelte +12 -3
- package/dist/maplibre/ScaleControl/ScaleControl.svelte +1 -0
- package/dist/maplibre/Tooltip/Tooltip.svelte +3 -2
- package/package.json +1 -1
- package/dist/maplibre/Map/test.css +0 -687
- package/dist/maplibre/MapStyle/tokens.d.ts +0 -23
- package/dist/maplibre/MapStyle/tokens.js +0 -23
|
@@ -1,29 +1,28 @@
|
|
|
1
1
|
import {} from '../../types';
|
|
2
|
-
import tokens from '../tokens';
|
|
3
2
|
const street_layout = {
|
|
4
3
|
'line-join': 'round',
|
|
5
4
|
'line-cap': 'butt'
|
|
6
5
|
};
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
[
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
[
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}
|
|
26
|
-
|
|
6
|
+
export default function makeWalking(tokens) {
|
|
7
|
+
const street_residential = {
|
|
8
|
+
line_color: tokens.street_tertiary,
|
|
9
|
+
line_width: {
|
|
10
|
+
stops: [
|
|
11
|
+
[13, 1],
|
|
12
|
+
[14, 2],
|
|
13
|
+
[16, 5],
|
|
14
|
+
[18, 24],
|
|
15
|
+
[19, 60],
|
|
16
|
+
[20, 120]
|
|
17
|
+
]
|
|
18
|
+
},
|
|
19
|
+
line_opacity: {
|
|
20
|
+
stops: [
|
|
21
|
+
[12, 0],
|
|
22
|
+
[13, 1]
|
|
23
|
+
]
|
|
24
|
+
}
|
|
25
|
+
};
|
|
27
26
|
const walkingTunnels = [
|
|
28
27
|
{
|
|
29
28
|
id: 'tunnel-street-pedestrian-zone',
|
|
@@ -31,7 +30,7 @@ export default function makeWalking() {
|
|
|
31
30
|
'source-layer': 'street_polygons',
|
|
32
31
|
filter: ['all', ['==', 'tunnel', true], ['==', 'kind', 'pedestrian']],
|
|
33
32
|
paint: {
|
|
34
|
-
'fill-color':
|
|
33
|
+
'fill-color': tokens.street_tertiary,
|
|
35
34
|
'fill-opacity': {
|
|
36
35
|
stops: [
|
|
37
36
|
[12, 0],
|
|
@@ -58,7 +57,7 @@ export default function makeWalking() {
|
|
|
58
57
|
[20, 22]
|
|
59
58
|
]
|
|
60
59
|
},
|
|
61
|
-
'line-color':
|
|
60
|
+
'line-color': tokens.street_tertiary_case
|
|
62
61
|
},
|
|
63
62
|
minzoom: 15
|
|
64
63
|
},
|
|
@@ -80,7 +79,7 @@ export default function makeWalking() {
|
|
|
80
79
|
[20, 22]
|
|
81
80
|
]
|
|
82
81
|
},
|
|
83
|
-
'line-color':
|
|
82
|
+
'line-color': tokens.street_tertiary_case
|
|
84
83
|
},
|
|
85
84
|
minzoom: 15
|
|
86
85
|
},
|
|
@@ -102,7 +101,7 @@ export default function makeWalking() {
|
|
|
102
101
|
[20, 22]
|
|
103
102
|
]
|
|
104
103
|
},
|
|
105
|
-
'line-color':
|
|
104
|
+
'line-color': tokens.street_tertiary_case
|
|
106
105
|
},
|
|
107
106
|
minzoom: 15
|
|
108
107
|
},
|
|
@@ -124,7 +123,7 @@ export default function makeWalking() {
|
|
|
124
123
|
[20, 22]
|
|
125
124
|
]
|
|
126
125
|
},
|
|
127
|
-
'line-color':
|
|
126
|
+
'line-color': tokens.street_tertiary_case
|
|
128
127
|
},
|
|
129
128
|
minzoom: 15
|
|
130
129
|
},
|
|
@@ -135,7 +134,7 @@ export default function makeWalking() {
|
|
|
135
134
|
'source-layer': 'streets',
|
|
136
135
|
filter: ['all', ['==', 'kind', 'track'], ['==', 'tunnel', true]],
|
|
137
136
|
paint: {
|
|
138
|
-
'line-color':
|
|
137
|
+
'line-color': tokens.street_secondary_case,
|
|
139
138
|
'line-width': {
|
|
140
139
|
stops: [
|
|
141
140
|
[14, 2],
|
|
@@ -163,7 +162,7 @@ export default function makeWalking() {
|
|
|
163
162
|
'source-layer': 'streets',
|
|
164
163
|
filter: ['all', ['==', 'kind', 'pedestrian'], ['==', 'tunnel', true]],
|
|
165
164
|
paint: {
|
|
166
|
-
'line-color':
|
|
165
|
+
'line-color': tokens.street_tertiary_case,
|
|
167
166
|
'line-width': {
|
|
168
167
|
stops: [
|
|
169
168
|
[12, 2],
|
|
@@ -204,7 +203,7 @@ export default function makeWalking() {
|
|
|
204
203
|
[20, 20]
|
|
205
204
|
]
|
|
206
205
|
},
|
|
207
|
-
'line-color':
|
|
206
|
+
'line-color': tokens.street_tertiary,
|
|
208
207
|
'line-dasharray': [1, 0.2]
|
|
209
208
|
},
|
|
210
209
|
minzoom: 15
|
|
@@ -227,7 +226,7 @@ export default function makeWalking() {
|
|
|
227
226
|
[20, 20]
|
|
228
227
|
]
|
|
229
228
|
},
|
|
230
|
-
'line-color':
|
|
229
|
+
'line-color': tokens.street_tertiary,
|
|
231
230
|
'line-dasharray': [1, 0.2]
|
|
232
231
|
},
|
|
233
232
|
minzoom: 15
|
|
@@ -250,7 +249,7 @@ export default function makeWalking() {
|
|
|
250
249
|
[20, 20]
|
|
251
250
|
]
|
|
252
251
|
},
|
|
253
|
-
'line-color':
|
|
252
|
+
'line-color': tokens.street_tertiary,
|
|
254
253
|
'line-dasharray': [1, 0.2]
|
|
255
254
|
},
|
|
256
255
|
minzoom: 15
|
|
@@ -273,7 +272,7 @@ export default function makeWalking() {
|
|
|
273
272
|
[20, 20]
|
|
274
273
|
]
|
|
275
274
|
},
|
|
276
|
-
'line-color':
|
|
275
|
+
'line-color': tokens.street_tertiary,
|
|
277
276
|
'line-dasharray': [1, 0.2]
|
|
278
277
|
},
|
|
279
278
|
minzoom: 15
|
|
@@ -284,7 +283,7 @@ export default function makeWalking() {
|
|
|
284
283
|
'source-layer': 'streets',
|
|
285
284
|
filter: ['all', ['==', 'kind', 'track'], ['==', 'tunnel', true]],
|
|
286
285
|
paint: {
|
|
287
|
-
'line-color':
|
|
286
|
+
'line-color': tokens.street_secondary,
|
|
288
287
|
'line-width': {
|
|
289
288
|
stops: [
|
|
290
289
|
[14, 1],
|
|
@@ -312,7 +311,7 @@ export default function makeWalking() {
|
|
|
312
311
|
'source-layer': 'streets',
|
|
313
312
|
filter: ['all', ['==', 'kind', 'pedestrian'], ['==', 'tunnel', true]],
|
|
314
313
|
paint: {
|
|
315
|
-
'line-color':
|
|
314
|
+
'line-color': tokens.street_tertiary,
|
|
316
315
|
'line-width': {
|
|
317
316
|
stops: [
|
|
318
317
|
[12, 1],
|
|
@@ -346,7 +345,7 @@ export default function makeWalking() {
|
|
|
346
345
|
['==', 'tunnel', true]
|
|
347
346
|
],
|
|
348
347
|
paint: {
|
|
349
|
-
'line-color':
|
|
348
|
+
'line-color': tokens.street_tertiary,
|
|
350
349
|
'line-width': {
|
|
351
350
|
stops: [
|
|
352
351
|
[12, 1],
|
|
@@ -394,7 +393,7 @@ export default function makeWalking() {
|
|
|
394
393
|
['==', 'tunnel', true]
|
|
395
394
|
],
|
|
396
395
|
paint: {
|
|
397
|
-
'line-color':
|
|
396
|
+
'line-color': tokens.street_tertiary,
|
|
398
397
|
'line-width': {
|
|
399
398
|
stops: [
|
|
400
399
|
[12, 1],
|
|
@@ -425,7 +424,7 @@ export default function makeWalking() {
|
|
|
425
424
|
['==', 'tunnel', true]
|
|
426
425
|
],
|
|
427
426
|
paint: {
|
|
428
|
-
'line-color':
|
|
427
|
+
'line-color': tokens.street_tertiary
|
|
429
428
|
},
|
|
430
429
|
layout: {
|
|
431
430
|
'line-join': 'round',
|
|
@@ -443,7 +442,7 @@ export default function makeWalking() {
|
|
|
443
442
|
['==', 'tunnel', true]
|
|
444
443
|
],
|
|
445
444
|
paint: {
|
|
446
|
-
'line-color':
|
|
445
|
+
'line-color': tokens.street_tertiary,
|
|
447
446
|
'line-width': {
|
|
448
447
|
stops: [
|
|
449
448
|
[12, 1],
|
|
@@ -475,7 +474,7 @@ export default function makeWalking() {
|
|
|
475
474
|
['!=', 'service', 'driveway']
|
|
476
475
|
],
|
|
477
476
|
paint: {
|
|
478
|
-
'line-color':
|
|
477
|
+
'line-color': tokens.street_tertiary
|
|
479
478
|
},
|
|
480
479
|
layout: {
|
|
481
480
|
'line-join': 'round',
|
|
@@ -504,7 +503,7 @@ export default function makeWalking() {
|
|
|
504
503
|
[20, 22]
|
|
505
504
|
]
|
|
506
505
|
},
|
|
507
|
-
'line-color':
|
|
506
|
+
'line-color': tokens.street_tertiary
|
|
508
507
|
},
|
|
509
508
|
minzoom: 15
|
|
510
509
|
},
|
|
@@ -527,7 +526,7 @@ export default function makeWalking() {
|
|
|
527
526
|
[20, 22]
|
|
528
527
|
]
|
|
529
528
|
},
|
|
530
|
-
'line-color':
|
|
529
|
+
'line-color': tokens.street_tertiary_case
|
|
531
530
|
}
|
|
532
531
|
},
|
|
533
532
|
{
|
|
@@ -549,7 +548,7 @@ export default function makeWalking() {
|
|
|
549
548
|
[20, 22]
|
|
550
549
|
]
|
|
551
550
|
},
|
|
552
|
-
'line-color':
|
|
551
|
+
'line-color': tokens.street_tertiary_case
|
|
553
552
|
}
|
|
554
553
|
},
|
|
555
554
|
{
|
|
@@ -570,7 +569,7 @@ export default function makeWalking() {
|
|
|
570
569
|
[20, 22]
|
|
571
570
|
]
|
|
572
571
|
},
|
|
573
|
-
'line-color':
|
|
572
|
+
'line-color': tokens.street_tertiary
|
|
574
573
|
},
|
|
575
574
|
minzoom: 15
|
|
576
575
|
},
|
|
@@ -580,7 +579,7 @@ export default function makeWalking() {
|
|
|
580
579
|
'source-layer': 'streets',
|
|
581
580
|
filter: ['all', ['==', 'kind', 'track'], ['!=', 'bridge', true], ['!=', 'tunnel', true]],
|
|
582
581
|
paint: {
|
|
583
|
-
'line-color':
|
|
582
|
+
'line-color': tokens.street_secondary_case,
|
|
584
583
|
'line-width': {
|
|
585
584
|
stops: [
|
|
586
585
|
[14, 2],
|
|
@@ -646,7 +645,7 @@ export default function makeWalking() {
|
|
|
646
645
|
[20, 20]
|
|
647
646
|
]
|
|
648
647
|
},
|
|
649
|
-
'line-color':
|
|
648
|
+
'line-color': tokens.street_tertiary
|
|
650
649
|
},
|
|
651
650
|
minzoom: 15
|
|
652
651
|
},
|
|
@@ -668,7 +667,7 @@ export default function makeWalking() {
|
|
|
668
667
|
[20, 20]
|
|
669
668
|
]
|
|
670
669
|
},
|
|
671
|
-
'line-color':
|
|
670
|
+
'line-color': tokens.street_tertiary
|
|
672
671
|
},
|
|
673
672
|
minzoom: 15
|
|
674
673
|
},
|
|
@@ -690,7 +689,7 @@ export default function makeWalking() {
|
|
|
690
689
|
[20, 20]
|
|
691
690
|
]
|
|
692
691
|
},
|
|
693
|
-
'line-color':
|
|
692
|
+
'line-color': tokens.street_tertiary
|
|
694
693
|
},
|
|
695
694
|
minzoom: 15
|
|
696
695
|
},
|
|
@@ -712,7 +711,7 @@ export default function makeWalking() {
|
|
|
712
711
|
[20, 20]
|
|
713
712
|
]
|
|
714
713
|
},
|
|
715
|
-
'line-color':
|
|
714
|
+
'line-color': tokens.street_tertiary
|
|
716
715
|
},
|
|
717
716
|
minzoom: 15
|
|
718
717
|
},
|
|
@@ -722,7 +721,7 @@ export default function makeWalking() {
|
|
|
722
721
|
'source-layer': 'streets',
|
|
723
722
|
filter: ['all', ['==', 'kind', 'track'], ['!=', 'bridge', true], ['!=', 'tunnel', true]],
|
|
724
723
|
paint: {
|
|
725
|
-
'line-color':
|
|
724
|
+
'line-color': tokens.street_tertiary,
|
|
726
725
|
'line-width': {
|
|
727
726
|
stops: [
|
|
728
727
|
[14, 1],
|
|
@@ -766,153 +765,6 @@ export default function makeWalking() {
|
|
|
766
765
|
}
|
|
767
766
|
},
|
|
768
767
|
layout: street_layout
|
|
769
|
-
},
|
|
770
|
-
{
|
|
771
|
-
id: 'street-track-bicycle',
|
|
772
|
-
type: 'line',
|
|
773
|
-
'source-layer': 'streets',
|
|
774
|
-
filter: [
|
|
775
|
-
'all',
|
|
776
|
-
['==', 'kind', 'track'],
|
|
777
|
-
['==', 'bicycle', 'designated'],
|
|
778
|
-
['!=', 'bridge', true],
|
|
779
|
-
['!=', 'tunnel', true]
|
|
780
|
-
],
|
|
781
|
-
paint: {
|
|
782
|
-
'line-color': 'hsl(0,0%,100%)'
|
|
783
|
-
},
|
|
784
|
-
layout: street_layout
|
|
785
|
-
},
|
|
786
|
-
{
|
|
787
|
-
id: 'street-pedestrian-bicycle',
|
|
788
|
-
type: 'line',
|
|
789
|
-
'source-layer': 'streets',
|
|
790
|
-
filter: [
|
|
791
|
-
'all',
|
|
792
|
-
['==', 'kind', 'pedestrian'],
|
|
793
|
-
['==', 'bicycle', 'designated'],
|
|
794
|
-
['!=', 'bridge', true],
|
|
795
|
-
['!=', 'tunnel', true]
|
|
796
|
-
],
|
|
797
|
-
paint: {
|
|
798
|
-
'line-color': 'hsl(203,0%,97%)',
|
|
799
|
-
'line-width': {
|
|
800
|
-
stops: [
|
|
801
|
-
[12, 1],
|
|
802
|
-
[14, 2],
|
|
803
|
-
[16, 5],
|
|
804
|
-
[18, 24],
|
|
805
|
-
[19, 60],
|
|
806
|
-
[20, 120]
|
|
807
|
-
]
|
|
808
|
-
},
|
|
809
|
-
'line-opacity': {
|
|
810
|
-
stops: [
|
|
811
|
-
[12, 0],
|
|
812
|
-
[13, 1]
|
|
813
|
-
]
|
|
814
|
-
}
|
|
815
|
-
},
|
|
816
|
-
layout: street_layout
|
|
817
|
-
},
|
|
818
|
-
{
|
|
819
|
-
id: 'street-service-bicycle',
|
|
820
|
-
type: 'line',
|
|
821
|
-
'source-layer': 'streets',
|
|
822
|
-
filter: [
|
|
823
|
-
'all',
|
|
824
|
-
['==', 'kind', 'service'],
|
|
825
|
-
['==', 'bicycle', 'designated'],
|
|
826
|
-
['!=', 'bridge', true],
|
|
827
|
-
['!=', 'tunnel', true],
|
|
828
|
-
['!=', 'service', 'driveway']
|
|
829
|
-
],
|
|
830
|
-
paint: {
|
|
831
|
-
'line-color': 'hsl(0,0%,100%)'
|
|
832
|
-
},
|
|
833
|
-
layout: street_layout
|
|
834
|
-
},
|
|
835
|
-
{
|
|
836
|
-
id: 'street-livingstreet-bicycle',
|
|
837
|
-
type: 'line',
|
|
838
|
-
'source-layer': 'streets',
|
|
839
|
-
filter: [
|
|
840
|
-
'all',
|
|
841
|
-
['==', 'kind', 'living_street'],
|
|
842
|
-
['==', 'bicycle', 'designated'],
|
|
843
|
-
['!=', 'bridge', true],
|
|
844
|
-
['!=', 'tunnel', true]
|
|
845
|
-
],
|
|
846
|
-
paint: {
|
|
847
|
-
'line-color': 'hsl(203,0%,97%)',
|
|
848
|
-
'line-width': {
|
|
849
|
-
stops: [
|
|
850
|
-
[12, 1],
|
|
851
|
-
[14, 2],
|
|
852
|
-
[16, 5],
|
|
853
|
-
[18, 24],
|
|
854
|
-
[19, 60],
|
|
855
|
-
[20, 120]
|
|
856
|
-
]
|
|
857
|
-
},
|
|
858
|
-
'line-opacity': {
|
|
859
|
-
stops: [
|
|
860
|
-
[12, 0],
|
|
861
|
-
[13, 1]
|
|
862
|
-
]
|
|
863
|
-
}
|
|
864
|
-
},
|
|
865
|
-
layout: street_layout
|
|
866
|
-
},
|
|
867
|
-
{
|
|
868
|
-
id: 'street-residential-bicycle',
|
|
869
|
-
type: 'line',
|
|
870
|
-
'source-layer': 'streets',
|
|
871
|
-
filter: [
|
|
872
|
-
'all',
|
|
873
|
-
['==', 'kind', 'residential'],
|
|
874
|
-
['==', 'bicycle', 'designated'],
|
|
875
|
-
['!=', 'bridge', true],
|
|
876
|
-
['!=', 'tunnel', true]
|
|
877
|
-
],
|
|
878
|
-
paint: {
|
|
879
|
-
'line-color': street_residential.line_color,
|
|
880
|
-
'line-width': street_residential.line_width,
|
|
881
|
-
'line-opacity': street_residential.line_opacity
|
|
882
|
-
},
|
|
883
|
-
layout: street_layout
|
|
884
|
-
},
|
|
885
|
-
{
|
|
886
|
-
id: 'street-unclassified-bicycle',
|
|
887
|
-
type: 'line',
|
|
888
|
-
'source-layer': 'streets',
|
|
889
|
-
filter: [
|
|
890
|
-
'all',
|
|
891
|
-
['==', 'kind', 'unclassified'],
|
|
892
|
-
['==', 'bicycle', 'designated'],
|
|
893
|
-
['!=', 'bridge', true],
|
|
894
|
-
['!=', 'tunnel', true]
|
|
895
|
-
],
|
|
896
|
-
paint: {
|
|
897
|
-
'line-color': 'hsl(203,0%,97%)',
|
|
898
|
-
'line-width': {
|
|
899
|
-
stops: [
|
|
900
|
-
[12, 1],
|
|
901
|
-
[14, 2],
|
|
902
|
-
[16, 5],
|
|
903
|
-
[18, 24],
|
|
904
|
-
[19, 60],
|
|
905
|
-
[20, 120]
|
|
906
|
-
]
|
|
907
|
-
},
|
|
908
|
-
'line-opacity': {
|
|
909
|
-
stops: [
|
|
910
|
-
[12, 0],
|
|
911
|
-
[13, 1]
|
|
912
|
-
]
|
|
913
|
-
}
|
|
914
|
-
},
|
|
915
|
-
layout: street_layout
|
|
916
768
|
}
|
|
917
769
|
].map((el) => {
|
|
918
770
|
return { source: 'versatiles-osm', ...el };
|
|
@@ -924,7 +776,7 @@ export default function makeWalking() {
|
|
|
924
776
|
'source-layer': 'street_polygons',
|
|
925
777
|
filter: ['all', ['==', 'bridge', true], ['==', 'kind', 'pedestrian']],
|
|
926
778
|
paint: {
|
|
927
|
-
'fill-color':
|
|
779
|
+
'fill-color': tokens.street_tertiary,
|
|
928
780
|
'fill-opacity': {
|
|
929
781
|
stops: [
|
|
930
782
|
[12, 0],
|
|
@@ -950,7 +802,7 @@ export default function makeWalking() {
|
|
|
950
802
|
[20, 22]
|
|
951
803
|
]
|
|
952
804
|
},
|
|
953
|
-
'line-color':
|
|
805
|
+
'line-color': tokens.street_tertiary_case
|
|
954
806
|
}
|
|
955
807
|
},
|
|
956
808
|
{
|
|
@@ -970,7 +822,7 @@ export default function makeWalking() {
|
|
|
970
822
|
[20, 22]
|
|
971
823
|
]
|
|
972
824
|
},
|
|
973
|
-
'line-color':
|
|
825
|
+
'line-color': tokens.street_tertiary_case
|
|
974
826
|
}
|
|
975
827
|
},
|
|
976
828
|
{
|
|
@@ -989,7 +841,7 @@ export default function makeWalking() {
|
|
|
989
841
|
[20, 22]
|
|
990
842
|
]
|
|
991
843
|
},
|
|
992
|
-
'line-color':
|
|
844
|
+
'line-color': tokens.street_tertiary_case
|
|
993
845
|
},
|
|
994
846
|
minzoom: 15
|
|
995
847
|
},
|
|
@@ -1009,7 +861,7 @@ export default function makeWalking() {
|
|
|
1009
861
|
[20, 22]
|
|
1010
862
|
]
|
|
1011
863
|
},
|
|
1012
|
-
'line-color':
|
|
864
|
+
'line-color': tokens.street_tertiary_case
|
|
1013
865
|
},
|
|
1014
866
|
minzoom: 15
|
|
1015
867
|
},
|
|
@@ -1017,7 +869,7 @@ export default function makeWalking() {
|
|
|
1017
869
|
id: 'bridge-street-track:case',
|
|
1018
870
|
filter: ['all', ['==', 'kind', 'track'], ['==', 'bridge', true]],
|
|
1019
871
|
paint: {
|
|
1020
|
-
'line-color':
|
|
872
|
+
'line-color': tokens.street_tertiary_case,
|
|
1021
873
|
'line-width': {
|
|
1022
874
|
stops: [
|
|
1023
875
|
[14, 2],
|
|
@@ -1040,7 +892,7 @@ export default function makeWalking() {
|
|
|
1040
892
|
id: 'bridge-street-pedestrian:case',
|
|
1041
893
|
filter: ['all', ['==', 'kind', 'pedestrian'], ['==', 'bridge', true]],
|
|
1042
894
|
paint: {
|
|
1043
|
-
'line-color':
|
|
895
|
+
'line-color': tokens.street_tertiary_case,
|
|
1044
896
|
'line-width': {
|
|
1045
897
|
stops: [
|
|
1046
898
|
[12, 2],
|
|
@@ -1167,7 +1019,7 @@ export default function makeWalking() {
|
|
|
1167
1019
|
id: 'bridge-street-pedestrian',
|
|
1168
1020
|
filter: ['all', ['==', 'kind', 'pedestrian'], ['==', 'bridge', true]],
|
|
1169
1021
|
paint: {
|
|
1170
|
-
'line-color':
|
|
1022
|
+
'line-color': tokens.street_tertiary,
|
|
1171
1023
|
'line-width': {
|
|
1172
1024
|
stops: [
|
|
1173
1025
|
[12, 1],
|
|
@@ -1239,7 +1091,7 @@ export default function makeWalking() {
|
|
|
1239
1091
|
['!=', 'service', 'driveway']
|
|
1240
1092
|
],
|
|
1241
1093
|
paint: {
|
|
1242
|
-
'line-color':
|
|
1094
|
+
'line-color': tokens.street_tertiary
|
|
1243
1095
|
},
|
|
1244
1096
|
layout: street_layout
|
|
1245
1097
|
},
|
|
@@ -1252,7 +1104,7 @@ export default function makeWalking() {
|
|
|
1252
1104
|
['==', 'bridge', true]
|
|
1253
1105
|
],
|
|
1254
1106
|
paint: {
|
|
1255
|
-
'line-color':
|
|
1107
|
+
'line-color': tokens.street_tertiary,
|
|
1256
1108
|
'line-width': {
|
|
1257
1109
|
stops: [
|
|
1258
1110
|
[12, 1],
|
|
@@ -1296,7 +1148,7 @@ export default function makeWalking() {
|
|
|
1296
1148
|
['==', 'bridge', true]
|
|
1297
1149
|
],
|
|
1298
1150
|
paint: {
|
|
1299
|
-
'line-color':
|
|
1151
|
+
'line-color': tokens.street_tertiary,
|
|
1300
1152
|
'line-width': {
|
|
1301
1153
|
stops: [
|
|
1302
1154
|
[12, 1],
|
|
@@ -1345,8 +1197,8 @@ export default function makeWalking() {
|
|
|
1345
1197
|
}
|
|
1346
1198
|
},
|
|
1347
1199
|
paint: {
|
|
1348
|
-
'text-color':
|
|
1349
|
-
'text-halo-color':
|
|
1200
|
+
'text-color': tokens.label_secondary,
|
|
1201
|
+
'text-halo-color': tokens.background,
|
|
1350
1202
|
'text-halo-width': 2,
|
|
1351
1203
|
'text-halo-blur': 1
|
|
1352
1204
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M6.99999 0.400375C8.23844 0.400375 9.32826 0.860324 10.2793 1.79588C11.2173 2.71867 11.6963 3.96368 11.6963 5.55858C11.6962 6.59513 11.3092 7.74429 10.5059 9.01073C9.72473 10.2421 8.45423 12.0402 6.99999 13.6269C5.54576 12.0402 4.27526 10.2421 3.49413 9.01073C2.69082 7.74429 2.30377 6.59513 2.30371 5.55858C2.30371 3.96368 2.78268 2.71867 3.7207 1.79588C4.67173 0.860322 5.76155 0.400377 6.99999 0.400375Z" fill="url(#paint0_linear_50_2)" stroke="black" stroke-width="0.5"/>
|
|
3
|
+
<path d="M9.45946 5.30492C9.45946 6.66325 8.35832 7.76438 7 7.76438C5.64168 7.76438 4.54054 6.66325 4.54054 5.30492C4.54054 3.9466 5.64168 2.84547 7 2.84547C8.35832 2.84547 9.45946 3.9466 9.45946 5.30492Z" fill="#0C0C0C"/>
|
|
4
|
+
<defs>
|
|
5
|
+
<linearGradient id="paint0_linear_50_2" x1="4" y1="1" x2="7" y2="13.7232" gradientUnits="userSpaceOnUse">
|
|
6
|
+
<stop offset="0.447115" stop-color="#EDE7F8"/>
|
|
7
|
+
<stop offset="1" stop-color="#E2D8F3"/>
|
|
8
|
+
</linearGradient>
|
|
9
|
+
</defs>
|
|
10
|
+
</svg>
|