@minmaps-dev/mm-web-sdk 1.0.0-rc.10 → 1.0.0-rc.12
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/README.md +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +126 -3
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/react.cjs +1 -1
- package/dist/react.cjs.map +1 -1
- package/dist/react.d.ts +21 -1
- package/dist/react.js +1 -1
- package/dist/react.js.map +1 -1
- package/package.json +2 -1
- package/src/themes/alt3-hybrid-style.json +276 -194
- package/src/themes/high-contrast-style.json +37 -9
|
@@ -9,10 +9,9 @@
|
|
|
9
9
|
"sprite": "http://localhost:4000/sprites/sprite",
|
|
10
10
|
"glyphs": "https://demotiles.maplibre.org/font/{fontstack}/{range}.pbf",
|
|
11
11
|
"sources": {
|
|
12
|
-
"
|
|
13
|
-
"type": "
|
|
14
|
-
"
|
|
15
|
-
"tileSize": 256,
|
|
12
|
+
"protomaps": {
|
|
13
|
+
"type": "vector",
|
|
14
|
+
"url": "pmtiles://https://jacsdevtiles-gjgbejbpdzbgcge8.z01.azurefd.net/pmtiles/base/usa.pmtiles",
|
|
16
15
|
"attribution": "© OpenStreetMap contributors"
|
|
17
16
|
},
|
|
18
17
|
"indoor-data": {
|
|
@@ -39,6 +38,10 @@
|
|
|
39
38
|
"route-endpoints": {
|
|
40
39
|
"type": "geojson",
|
|
41
40
|
"data": { "type": "FeatureCollection", "features": [] }
|
|
41
|
+
},
|
|
42
|
+
"poi-highlight-data": {
|
|
43
|
+
"type": "geojson",
|
|
44
|
+
"data": { "type": "FeatureCollection", "features": [] }
|
|
42
45
|
}
|
|
43
46
|
},
|
|
44
47
|
"layers": [
|
|
@@ -46,25 +49,105 @@
|
|
|
46
49
|
"id": "background",
|
|
47
50
|
"type": "background",
|
|
48
51
|
"paint": {
|
|
49
|
-
"background-color": "#
|
|
52
|
+
"background-color": "#f0f0f0"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"id": "basemap-earth",
|
|
57
|
+
"type": "fill",
|
|
58
|
+
"source": "protomaps",
|
|
59
|
+
"source-layer": "earth",
|
|
60
|
+
"paint": {
|
|
61
|
+
"fill-color": "#EFEAE0"
|
|
50
62
|
}
|
|
51
63
|
},
|
|
52
64
|
{
|
|
53
|
-
"id": "
|
|
54
|
-
"type": "
|
|
55
|
-
"source": "
|
|
56
|
-
"
|
|
65
|
+
"id": "basemap-landuse-park",
|
|
66
|
+
"type": "fill",
|
|
67
|
+
"source": "protomaps",
|
|
68
|
+
"source-layer": "landuse",
|
|
69
|
+
"filter": [
|
|
70
|
+
"in",
|
|
71
|
+
["get", "kind"],
|
|
72
|
+
["literal", ["park", "forest", "wood", "nature_reserve", "grass", "garden", "playground", "cemetery", "golf_course"]]
|
|
73
|
+
],
|
|
57
74
|
"paint": {
|
|
58
|
-
"
|
|
75
|
+
"fill-color": "#dde8d4",
|
|
76
|
+
"fill-opacity": [
|
|
59
77
|
"interpolate",
|
|
60
78
|
["linear"],
|
|
61
79
|
["zoom"],
|
|
62
|
-
14,
|
|
63
|
-
0.
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
80
|
+
14, 0.9,
|
|
81
|
+
18, 0.5
|
|
82
|
+
]
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"id": "basemap-water",
|
|
87
|
+
"type": "fill",
|
|
88
|
+
"source": "protomaps",
|
|
89
|
+
"source-layer": "water",
|
|
90
|
+
"paint": {
|
|
91
|
+
"fill-color": "#d9e8f6"
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"id": "basemap-roads-minor",
|
|
96
|
+
"type": "line",
|
|
97
|
+
"source": "protomaps",
|
|
98
|
+
"source-layer": "roads",
|
|
99
|
+
"minzoom": 13,
|
|
100
|
+
"filter": [
|
|
101
|
+
"in",
|
|
102
|
+
["get", "kind"],
|
|
103
|
+
["literal", ["minor_road", "path", "service", "other"]]
|
|
104
|
+
],
|
|
105
|
+
"paint": {
|
|
106
|
+
"line-color": "#FFFFFF",
|
|
107
|
+
"line-width": [
|
|
108
|
+
"interpolate",
|
|
109
|
+
["linear"],
|
|
110
|
+
["zoom"],
|
|
111
|
+
13, 0.5,
|
|
112
|
+
16, 1.5,
|
|
113
|
+
19, 4
|
|
114
|
+
],
|
|
115
|
+
"line-opacity": [
|
|
116
|
+
"interpolate",
|
|
117
|
+
["linear"],
|
|
118
|
+
["zoom"],
|
|
119
|
+
14, 0.9,
|
|
120
|
+
18, 0.5
|
|
121
|
+
]
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"id": "basemap-roads-major",
|
|
126
|
+
"type": "line",
|
|
127
|
+
"source": "protomaps",
|
|
128
|
+
"source-layer": "roads",
|
|
129
|
+
"minzoom": 10,
|
|
130
|
+
"filter": [
|
|
131
|
+
"in",
|
|
132
|
+
["get", "kind"],
|
|
133
|
+
["literal", ["highway", "major_road", "medium_road"]]
|
|
134
|
+
],
|
|
135
|
+
"paint": {
|
|
136
|
+
"line-color": "#ecc97e",
|
|
137
|
+
"line-width": [
|
|
138
|
+
"interpolate",
|
|
139
|
+
["linear"],
|
|
140
|
+
["zoom"],
|
|
141
|
+
10, 0.5,
|
|
142
|
+
14, 1.5,
|
|
143
|
+
18, 6
|
|
144
|
+
],
|
|
145
|
+
"line-opacity": [
|
|
146
|
+
"interpolate",
|
|
147
|
+
["linear"],
|
|
148
|
+
["zoom"],
|
|
149
|
+
14, 0.9,
|
|
150
|
+
18, 0.5
|
|
68
151
|
]
|
|
69
152
|
}
|
|
70
153
|
},
|
|
@@ -76,7 +159,7 @@
|
|
|
76
159
|
"minzoom": 16.5,
|
|
77
160
|
"filter": ["==", ["get", "featureType"], "Pattern-Water"],
|
|
78
161
|
"paint": {
|
|
79
|
-
"fill-color": "#
|
|
162
|
+
"fill-color": "#cfe1ec",
|
|
80
163
|
"fill-opacity": 0.6
|
|
81
164
|
}
|
|
82
165
|
},
|
|
@@ -87,7 +170,7 @@
|
|
|
87
170
|
"minzoom": 16.5,
|
|
88
171
|
"filter": ["==", ["get", "featureType"], "Pattern-Grass"],
|
|
89
172
|
"paint": {
|
|
90
|
-
"fill-color": "#
|
|
173
|
+
"fill-color": "#d2e0c6",
|
|
91
174
|
"fill-opacity": 0.5
|
|
92
175
|
}
|
|
93
176
|
},
|
|
@@ -98,7 +181,7 @@
|
|
|
98
181
|
"minzoom": 16.5,
|
|
99
182
|
"filter": ["==", ["get", "featureType"], "Pattern-Trees"],
|
|
100
183
|
"paint": {
|
|
101
|
-
"fill-color": "#
|
|
184
|
+
"fill-color": "#cdd9c9",
|
|
102
185
|
"fill-opacity": 0.4
|
|
103
186
|
}
|
|
104
187
|
},
|
|
@@ -121,7 +204,7 @@
|
|
|
121
204
|
"minzoom": 16.5,
|
|
122
205
|
"filter": ["==", ["get", "featureType"], "Pattern-OutdoorTerrace"],
|
|
123
206
|
"paint": {
|
|
124
|
-
"fill-color": "#
|
|
207
|
+
"fill-color": "#cabfb6",
|
|
125
208
|
"fill-opacity": 0.3
|
|
126
209
|
}
|
|
127
210
|
},
|
|
@@ -132,8 +215,8 @@
|
|
|
132
215
|
"source": "indoor-data",
|
|
133
216
|
"filter": ["==", ["get", "featureType"], "Parking-Lots"],
|
|
134
217
|
"paint": {
|
|
135
|
-
"fill-color": "#
|
|
136
|
-
"fill-opacity": 0.
|
|
218
|
+
"fill-color": "#e0e0dd",
|
|
219
|
+
"fill-opacity": 0.5
|
|
137
220
|
}
|
|
138
221
|
},
|
|
139
222
|
{
|
|
@@ -142,7 +225,7 @@
|
|
|
142
225
|
"source": "indoor-data",
|
|
143
226
|
"filter": ["==", ["get", "featureType"], "Parking-Lots"],
|
|
144
227
|
"paint": {
|
|
145
|
-
"line-color": "#
|
|
228
|
+
"line-color": "#b0b0ad",
|
|
146
229
|
"line-width": 1,
|
|
147
230
|
"line-dasharray": [3, 2]
|
|
148
231
|
}
|
|
@@ -223,30 +306,30 @@
|
|
|
223
306
|
"match",
|
|
224
307
|
["get", "category"],
|
|
225
308
|
"healthcare",
|
|
226
|
-
"#
|
|
227
|
-
"emergency",
|
|
228
|
-
"#DC2626",
|
|
229
|
-
"diagnostic",
|
|
230
|
-
"#0EA5E9",
|
|
309
|
+
"#73b3e7",
|
|
231
310
|
"surgical",
|
|
232
|
-
"#
|
|
311
|
+
"#73b3e7",
|
|
312
|
+
"waiting",
|
|
313
|
+
"#73b3e7",
|
|
314
|
+
"diagnostic",
|
|
315
|
+
"#97d4ea",
|
|
316
|
+
"amenities",
|
|
317
|
+
"#97d4ea",
|
|
318
|
+
"emergency",
|
|
319
|
+
"#f2938c",
|
|
233
320
|
"retail",
|
|
234
|
-
"#
|
|
321
|
+
"#fee685",
|
|
235
322
|
"fnb",
|
|
236
|
-
"#
|
|
323
|
+
"#fee685",
|
|
237
324
|
"admin",
|
|
238
|
-
"#
|
|
239
|
-
"amenities",
|
|
240
|
-
"#48C9B0",
|
|
325
|
+
"#dfe1e2",
|
|
241
326
|
"staff",
|
|
242
|
-
"#
|
|
327
|
+
"#dfe1e2",
|
|
243
328
|
"security",
|
|
244
|
-
"#
|
|
245
|
-
"
|
|
246
|
-
"#E1BEE7",
|
|
247
|
-
"#8ecae6"
|
|
329
|
+
"#dfe1e2",
|
|
330
|
+
"#73b3e7"
|
|
248
331
|
],
|
|
249
|
-
"#
|
|
332
|
+
"#73b3e7"
|
|
250
333
|
],
|
|
251
334
|
"fill-opacity": [
|
|
252
335
|
"interpolate",
|
|
@@ -285,7 +368,7 @@
|
|
|
285
368
|
"minzoom": 16.5,
|
|
286
369
|
"filter": ["==", ["get", "featureType"], "Back-of-house"],
|
|
287
370
|
"paint": {
|
|
288
|
-
"fill-color": "#
|
|
371
|
+
"fill-color": "#e6e6e2",
|
|
289
372
|
"fill-opacity": 0.7
|
|
290
373
|
}
|
|
291
374
|
},
|
|
@@ -297,7 +380,7 @@
|
|
|
297
380
|
"minzoom": 16.5,
|
|
298
381
|
"filter": ["==", ["get", "featureType"], "Back-of-house"],
|
|
299
382
|
"paint": {
|
|
300
|
-
"line-color": "#
|
|
383
|
+
"line-color": "#c4c4c4",
|
|
301
384
|
"line-width": 0.5,
|
|
302
385
|
"line-opacity": 0.4
|
|
303
386
|
}
|
|
@@ -313,7 +396,7 @@
|
|
|
313
396
|
"line-cap": "round"
|
|
314
397
|
},
|
|
315
398
|
"paint": {
|
|
316
|
-
"line-color": "#
|
|
399
|
+
"line-color": "#b0b1b5",
|
|
317
400
|
"line-width": [
|
|
318
401
|
"interpolate",
|
|
319
402
|
["linear"],
|
|
@@ -336,7 +419,7 @@
|
|
|
336
419
|
"minzoom": 16.5,
|
|
337
420
|
"filter": ["==", ["get", "featureType"], "Restrooms"],
|
|
338
421
|
"paint": {
|
|
339
|
-
"fill-color": "#
|
|
422
|
+
"fill-color": "#5f9070",
|
|
340
423
|
"fill-opacity": 1
|
|
341
424
|
}
|
|
342
425
|
},
|
|
@@ -351,7 +434,7 @@
|
|
|
351
434
|
"line-cap": "round"
|
|
352
435
|
},
|
|
353
436
|
"paint": {
|
|
354
|
-
"line-color": "#
|
|
437
|
+
"line-color": "#3f5d4a",
|
|
355
438
|
"line-width": [
|
|
356
439
|
"interpolate",
|
|
357
440
|
["linear"],
|
|
@@ -416,7 +499,7 @@
|
|
|
416
499
|
["literal", ["Escalators", "Stairs", "Elevators"]]
|
|
417
500
|
],
|
|
418
501
|
"paint": {
|
|
419
|
-
"fill-color": "#
|
|
502
|
+
"fill-color": "#a9aeb1",
|
|
420
503
|
"fill-opacity": 1
|
|
421
504
|
}
|
|
422
505
|
},
|
|
@@ -435,7 +518,7 @@
|
|
|
435
518
|
"line-cap": "round"
|
|
436
519
|
},
|
|
437
520
|
"paint": {
|
|
438
|
-
"line-color": "#
|
|
521
|
+
"line-color": "#6f7780",
|
|
439
522
|
"line-width": [
|
|
440
523
|
"interpolate",
|
|
441
524
|
["linear"],
|
|
@@ -462,7 +545,7 @@
|
|
|
462
545
|
["literal", ["Exits", "Doors", "Exit", "Door"]]
|
|
463
546
|
],
|
|
464
547
|
"paint": {
|
|
465
|
-
"fill-color": "#
|
|
548
|
+
"fill-color": "#cdd9c9",
|
|
466
549
|
"fill-opacity": 0.6
|
|
467
550
|
}
|
|
468
551
|
},
|
|
@@ -474,7 +557,7 @@
|
|
|
474
557
|
"minzoom": 16.5,
|
|
475
558
|
"filter": ["==", ["get", "featureType"], "Kiosks"],
|
|
476
559
|
"paint": {
|
|
477
|
-
"fill-color": "#
|
|
560
|
+
"fill-color": "#ffe396",
|
|
478
561
|
"fill-opacity": 0.7
|
|
479
562
|
}
|
|
480
563
|
},
|
|
@@ -486,7 +569,7 @@
|
|
|
486
569
|
"minzoom": 16.5,
|
|
487
570
|
"filter": ["==", ["get", "featureType"], "Pattern-Lounge"],
|
|
488
571
|
"paint": {
|
|
489
|
-
"fill-color": "#
|
|
572
|
+
"fill-color": "#ddd2e0",
|
|
490
573
|
"fill-opacity": 0.5
|
|
491
574
|
}
|
|
492
575
|
},
|
|
@@ -498,7 +581,7 @@
|
|
|
498
581
|
"minzoom": 16.5,
|
|
499
582
|
"filter": ["==", ["get", "featureType"], "Pattern-IndoorFoodcourt"],
|
|
500
583
|
"paint": {
|
|
501
|
-
"fill-color": "#
|
|
584
|
+
"fill-color": "#f3e4c4",
|
|
502
585
|
"fill-opacity": 0.6
|
|
503
586
|
}
|
|
504
587
|
},
|
|
@@ -580,11 +663,11 @@
|
|
|
580
663
|
["linear"],
|
|
581
664
|
["zoom"],
|
|
582
665
|
15,
|
|
583
|
-
|
|
666
|
+
3,
|
|
584
667
|
18,
|
|
585
|
-
|
|
668
|
+
4,
|
|
586
669
|
20,
|
|
587
|
-
|
|
670
|
+
5
|
|
588
671
|
],
|
|
589
672
|
"line-opacity": 0.95
|
|
590
673
|
}
|
|
@@ -636,38 +719,7 @@
|
|
|
636
719
|
["!", ["has", "custom_height"]]
|
|
637
720
|
],
|
|
638
721
|
"paint": {
|
|
639
|
-
"fill-extrusion-color":
|
|
640
|
-
"case",
|
|
641
|
-
["has", "category"],
|
|
642
|
-
[
|
|
643
|
-
"match",
|
|
644
|
-
["get", "category"],
|
|
645
|
-
"healthcare",
|
|
646
|
-
"#5B2DB8",
|
|
647
|
-
"emergency",
|
|
648
|
-
"#B91C1C",
|
|
649
|
-
"diagnostic",
|
|
650
|
-
"#0C7FAB",
|
|
651
|
-
"surgical",
|
|
652
|
-
"#5B2DB8",
|
|
653
|
-
"retail",
|
|
654
|
-
"#CC5555",
|
|
655
|
-
"fnb",
|
|
656
|
-
"#CC8400",
|
|
657
|
-
"admin",
|
|
658
|
-
"#7B73CC",
|
|
659
|
-
"amenities",
|
|
660
|
-
"#3A9B88",
|
|
661
|
-
"staff",
|
|
662
|
-
"#5C96CC",
|
|
663
|
-
"security",
|
|
664
|
-
"#135C75",
|
|
665
|
-
"waiting",
|
|
666
|
-
"#B894C2",
|
|
667
|
-
"#eeeeee"
|
|
668
|
-
],
|
|
669
|
-
"#eeeeee"
|
|
670
|
-
],
|
|
722
|
+
"fill-extrusion-color": "#c4c8cb",
|
|
671
723
|
"fill-extrusion-height": [
|
|
672
724
|
"interpolate",
|
|
673
725
|
["linear"],
|
|
@@ -675,15 +727,15 @@
|
|
|
675
727
|
15.5,
|
|
676
728
|
0,
|
|
677
729
|
16.5,
|
|
678
|
-
|
|
730
|
+
["case", ["==", ["get", "wallKind"], "interior"], 0.5, 1],
|
|
679
731
|
17.5,
|
|
680
|
-
|
|
732
|
+
["case", ["==", ["get", "wallKind"], "interior"], 0.7, 1.4],
|
|
681
733
|
18.2,
|
|
682
|
-
|
|
734
|
+
["case", ["==", ["get", "wallKind"], "interior"], 0.9, 1.6]
|
|
683
735
|
],
|
|
684
736
|
"fill-extrusion-base": 0,
|
|
685
|
-
"fill-extrusion-vertical-gradient":
|
|
686
|
-
"fill-extrusion-opacity":
|
|
737
|
+
"fill-extrusion-vertical-gradient": true,
|
|
738
|
+
"fill-extrusion-opacity": 1
|
|
687
739
|
}
|
|
688
740
|
},
|
|
689
741
|
|
|
@@ -694,42 +746,23 @@
|
|
|
694
746
|
"minzoom": 16.5,
|
|
695
747
|
"filter": ["has", "custom_height"],
|
|
696
748
|
"paint": {
|
|
697
|
-
"fill-extrusion-color":
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
[
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
"#5B2DB8",
|
|
711
|
-
"retail",
|
|
712
|
-
"#CC5555",
|
|
713
|
-
"fnb",
|
|
714
|
-
"#CC8400",
|
|
715
|
-
"admin",
|
|
716
|
-
"#7B73CC",
|
|
717
|
-
"amenities",
|
|
718
|
-
"#3A9B88",
|
|
719
|
-
"staff",
|
|
720
|
-
"#5C96CC",
|
|
721
|
-
"security",
|
|
722
|
-
"#135C75",
|
|
723
|
-
"waiting",
|
|
724
|
-
"#B894C2",
|
|
725
|
-
"#FDFAF2"
|
|
726
|
-
],
|
|
727
|
-
"#FDFAF2"
|
|
749
|
+
"fill-extrusion-color": "#c4c8cb",
|
|
750
|
+
"fill-extrusion-height": [
|
|
751
|
+
"interpolate",
|
|
752
|
+
["linear"],
|
|
753
|
+
["zoom"],
|
|
754
|
+
15.5,
|
|
755
|
+
0,
|
|
756
|
+
16.5,
|
|
757
|
+
1,
|
|
758
|
+
17.5,
|
|
759
|
+
1.4,
|
|
760
|
+
18.2,
|
|
761
|
+
1.6
|
|
728
762
|
],
|
|
729
|
-
"fill-extrusion-height": ["to-number", ["get", "custom_height"]],
|
|
730
763
|
"fill-extrusion-base": 0,
|
|
731
|
-
"fill-extrusion-vertical-gradient":
|
|
732
|
-
"fill-extrusion-opacity":
|
|
764
|
+
"fill-extrusion-vertical-gradient": true,
|
|
765
|
+
"fill-extrusion-opacity": 1
|
|
733
766
|
}
|
|
734
767
|
},
|
|
735
768
|
|
|
@@ -761,7 +794,7 @@
|
|
|
761
794
|
"minzoom": 16.5,
|
|
762
795
|
"filter": ["==", ["get", "featureType"], "Back-of-house"],
|
|
763
796
|
"paint": {
|
|
764
|
-
"fill-extrusion-color": "#
|
|
797
|
+
"fill-extrusion-color": "#e6e6e2",
|
|
765
798
|
"fill-extrusion-height": [
|
|
766
799
|
"interpolate",
|
|
767
800
|
["linear"],
|
|
@@ -769,11 +802,11 @@
|
|
|
769
802
|
15.5,
|
|
770
803
|
0,
|
|
771
804
|
16.5,
|
|
772
|
-
|
|
805
|
+
1,
|
|
773
806
|
17.5,
|
|
774
|
-
|
|
807
|
+
1.4,
|
|
775
808
|
18.2,
|
|
776
|
-
|
|
809
|
+
1.6
|
|
777
810
|
],
|
|
778
811
|
"fill-extrusion-base": 0,
|
|
779
812
|
"fill-extrusion-opacity": 1
|
|
@@ -787,7 +820,7 @@
|
|
|
787
820
|
"minzoom": 16.5,
|
|
788
821
|
"filter": ["==", ["get", "featureType"], "Restrooms"],
|
|
789
822
|
"paint": {
|
|
790
|
-
"fill-extrusion-color": "#
|
|
823
|
+
"fill-extrusion-color": "#5f9070",
|
|
791
824
|
"fill-extrusion-height": [
|
|
792
825
|
"interpolate",
|
|
793
826
|
["linear"],
|
|
@@ -795,14 +828,14 @@
|
|
|
795
828
|
15.5,
|
|
796
829
|
0,
|
|
797
830
|
16.5,
|
|
798
|
-
|
|
831
|
+
1,
|
|
799
832
|
17.5,
|
|
800
|
-
|
|
833
|
+
1.4,
|
|
801
834
|
18.2,
|
|
802
|
-
|
|
835
|
+
1.6
|
|
803
836
|
],
|
|
804
837
|
"fill-extrusion-base": 0,
|
|
805
|
-
"fill-extrusion-opacity": 0.
|
|
838
|
+
"fill-extrusion-opacity": 0.95
|
|
806
839
|
}
|
|
807
840
|
},
|
|
808
841
|
|
|
@@ -821,11 +854,11 @@
|
|
|
821
854
|
15.5,
|
|
822
855
|
0,
|
|
823
856
|
16.5,
|
|
824
|
-
0.
|
|
857
|
+
0.4,
|
|
825
858
|
17.5,
|
|
826
|
-
|
|
859
|
+
0.6,
|
|
827
860
|
18.2,
|
|
828
|
-
|
|
861
|
+
0.8
|
|
829
862
|
],
|
|
830
863
|
"fill-extrusion-base": 0,
|
|
831
864
|
"fill-extrusion-opacity": 1
|
|
@@ -843,7 +876,7 @@
|
|
|
843
876
|
["literal", ["Escalators", "Stairs", "Elevators"]]
|
|
844
877
|
],
|
|
845
878
|
"paint": {
|
|
846
|
-
"fill-extrusion-color": "#
|
|
879
|
+
"fill-extrusion-color": "#a9aeb1",
|
|
847
880
|
"fill-extrusion-height": [
|
|
848
881
|
"interpolate",
|
|
849
882
|
["linear"],
|
|
@@ -851,11 +884,11 @@
|
|
|
851
884
|
15.5,
|
|
852
885
|
0,
|
|
853
886
|
16.5,
|
|
854
|
-
|
|
887
|
+
1,
|
|
855
888
|
17.5,
|
|
856
|
-
|
|
889
|
+
1.4,
|
|
857
890
|
18.2,
|
|
858
|
-
|
|
891
|
+
1.6
|
|
859
892
|
],
|
|
860
893
|
"fill-extrusion-base": 0,
|
|
861
894
|
"fill-extrusion-vertical-gradient": true,
|
|
@@ -878,11 +911,11 @@
|
|
|
878
911
|
15,
|
|
879
912
|
0,
|
|
880
913
|
16,
|
|
881
|
-
|
|
914
|
+
1,
|
|
882
915
|
17,
|
|
883
|
-
|
|
916
|
+
1.4,
|
|
884
917
|
18,
|
|
885
|
-
|
|
918
|
+
1.6
|
|
886
919
|
],
|
|
887
920
|
"fill-extrusion-base": 0,
|
|
888
921
|
"fill-extrusion-opacity": 0.85
|
|
@@ -980,15 +1013,14 @@
|
|
|
980
1013
|
"paint": {
|
|
981
1014
|
"circle-radius": [
|
|
982
1015
|
"interpolate", ["linear"], ["zoom"],
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
20, 6
|
|
1016
|
+
16, 6,
|
|
1017
|
+
18, 8,
|
|
1018
|
+
20, 10
|
|
987
1019
|
],
|
|
988
|
-
"circle-color": "#
|
|
989
|
-
"circle-stroke-width":
|
|
990
|
-
"circle-stroke-color": "#
|
|
991
|
-
"circle-opacity":
|
|
1020
|
+
"circle-color": "#ffffff",
|
|
1021
|
+
"circle-stroke-width": 3,
|
|
1022
|
+
"circle-stroke-color": "#162e51",
|
|
1023
|
+
"circle-opacity": 1
|
|
992
1024
|
}
|
|
993
1025
|
},
|
|
994
1026
|
|
|
@@ -1001,16 +1033,17 @@
|
|
|
1001
1033
|
["==", ["get", "poiType"], "destination"],
|
|
1002
1034
|
["==", ["get", "showLabel"], true]
|
|
1003
1035
|
],
|
|
1004
|
-
"minzoom":
|
|
1036
|
+
"minzoom": 16.5,
|
|
1005
1037
|
"layout": {
|
|
1006
1038
|
"text-field": ["get", "name"],
|
|
1007
1039
|
"text-size": [
|
|
1008
1040
|
"interpolate", ["linear"], ["zoom"],
|
|
1009
|
-
|
|
1010
|
-
|
|
1041
|
+
16.5, 14,
|
|
1042
|
+
18, 16,
|
|
1043
|
+
20, 19
|
|
1011
1044
|
],
|
|
1012
|
-
"text-offset": [0, 0.
|
|
1013
|
-
"text-anchor": "
|
|
1045
|
+
"text-offset": [0, -0.9],
|
|
1046
|
+
"text-anchor": "bottom",
|
|
1014
1047
|
"text-font": ["Noto Sans Bold"],
|
|
1015
1048
|
"text-max-width": 12,
|
|
1016
1049
|
"text-allow-overlap": false,
|
|
@@ -1056,10 +1089,9 @@
|
|
|
1056
1089
|
"text-field": ["get", "name"],
|
|
1057
1090
|
"text-size": [
|
|
1058
1091
|
"interpolate", ["linear"], ["zoom"],
|
|
1059
|
-
16
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
20, 13
|
|
1092
|
+
16, ["case", ["!=", ["coalesce", ["get", "iconId"], ""], ""], 0, 13],
|
|
1093
|
+
19, ["case", ["!=", ["coalesce", ["get", "iconId"], ""], ""], 0, 15],
|
|
1094
|
+
20, ["case", ["!=", ["coalesce", ["get", "iconId"], ""], ""], 0, 17]
|
|
1063
1095
|
],
|
|
1064
1096
|
"text-offset": [0, 1.3],
|
|
1065
1097
|
"text-anchor": "top",
|
|
@@ -1111,10 +1143,9 @@
|
|
|
1111
1143
|
"text-field": ["get", "name"],
|
|
1112
1144
|
"text-size": [
|
|
1113
1145
|
"interpolate", ["linear"], ["zoom"],
|
|
1114
|
-
16
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
20, 13
|
|
1146
|
+
16, ["case", ["!=", ["coalesce", ["get", "iconId"], ""], ""], 0, 13],
|
|
1147
|
+
19, ["case", ["!=", ["coalesce", ["get", "iconId"], ""], ""], 0, 15],
|
|
1148
|
+
20, ["case", ["!=", ["coalesce", ["get", "iconId"], ""], ""], 0, 17]
|
|
1118
1149
|
],
|
|
1119
1150
|
"text-offset": [0, 1.3],
|
|
1120
1151
|
"text-anchor": "top",
|
|
@@ -1148,12 +1179,12 @@
|
|
|
1148
1179
|
["==", ["index-of", "parking", ["get", "keywords"]], -1],
|
|
1149
1180
|
["==", ["index-of", "park", ["get", "keywords"]], -1]
|
|
1150
1181
|
],
|
|
1151
|
-
"minzoom":
|
|
1182
|
+
"minzoom": 16.5,
|
|
1152
1183
|
"layout": {
|
|
1153
1184
|
"icon-image": ["get", "iconId"],
|
|
1154
1185
|
"icon-size": [
|
|
1155
1186
|
"interpolate", ["linear"], ["zoom"],
|
|
1156
|
-
|
|
1187
|
+
16.5, 0.5,
|
|
1157
1188
|
18, 0.6,
|
|
1158
1189
|
20, 0.8
|
|
1159
1190
|
],
|
|
@@ -1166,10 +1197,9 @@
|
|
|
1166
1197
|
"text-field": ["get", "name"],
|
|
1167
1198
|
"text-size": [
|
|
1168
1199
|
"interpolate", ["linear"], ["zoom"],
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
20, 13
|
|
1200
|
+
16, ["case", ["!=", ["coalesce", ["get", "iconId"], ""], ""], 0, 13],
|
|
1201
|
+
19, ["case", ["!=", ["coalesce", ["get", "iconId"], ""], ""], 0, 15],
|
|
1202
|
+
20, ["case", ["!=", ["coalesce", ["get", "iconId"], ""], ""], 0, 17]
|
|
1173
1203
|
],
|
|
1174
1204
|
"text-offset": [0, 1.3],
|
|
1175
1205
|
"text-anchor": "top",
|
|
@@ -1191,42 +1221,94 @@
|
|
|
1191
1221
|
}
|
|
1192
1222
|
},
|
|
1193
1223
|
{
|
|
1194
|
-
"id": "poi-you-are-here",
|
|
1195
|
-
"type": "
|
|
1224
|
+
"id": "poi-you-are-here-ring",
|
|
1225
|
+
"type": "circle",
|
|
1196
1226
|
"source": "poi-data",
|
|
1197
1227
|
"filter": ["==", ["get", "isYouAreHere"], true],
|
|
1198
|
-
"minzoom": 16
|
|
1199
|
-
"
|
|
1200
|
-
"
|
|
1201
|
-
"
|
|
1202
|
-
|
|
1203
|
-
|
|
1228
|
+
"minzoom": 16,
|
|
1229
|
+
"paint": {
|
|
1230
|
+
"circle-radius": [
|
|
1231
|
+
"interpolate", ["linear"], ["zoom"],
|
|
1232
|
+
16, 14,
|
|
1233
|
+
18, 18,
|
|
1234
|
+
20, 24
|
|
1204
1235
|
],
|
|
1205
|
-
"
|
|
1236
|
+
"circle-color": "#face00",
|
|
1237
|
+
"circle-opacity": 0.25,
|
|
1238
|
+
"circle-pitch-alignment": "map"
|
|
1239
|
+
}
|
|
1240
|
+
},
|
|
1241
|
+
{
|
|
1242
|
+
"id": "poi-you-are-here-dot",
|
|
1243
|
+
"type": "circle",
|
|
1244
|
+
"source": "poi-data",
|
|
1245
|
+
"filter": ["==", ["get", "isYouAreHere"], true],
|
|
1246
|
+
"minzoom": 16,
|
|
1247
|
+
"paint": {
|
|
1248
|
+
"circle-radius": [
|
|
1206
1249
|
"interpolate", ["linear"], ["zoom"],
|
|
1207
|
-
16
|
|
1208
|
-
18
|
|
1209
|
-
20
|
|
1250
|
+
16, 7,
|
|
1251
|
+
18, 9,
|
|
1252
|
+
20, 12
|
|
1210
1253
|
],
|
|
1211
|
-
"
|
|
1212
|
-
"
|
|
1213
|
-
"
|
|
1254
|
+
"circle-color": "#face00",
|
|
1255
|
+
"circle-opacity": 1,
|
|
1256
|
+
"circle-stroke-color": "#ffffff",
|
|
1257
|
+
"circle-stroke-width": 3,
|
|
1258
|
+
"circle-stroke-opacity": 1
|
|
1259
|
+
}
|
|
1260
|
+
},
|
|
1261
|
+
{
|
|
1262
|
+
"id": "poi-you-are-here",
|
|
1263
|
+
"type": "symbol",
|
|
1264
|
+
"source": "poi-data",
|
|
1265
|
+
"filter": ["==", ["get", "isYouAreHere"], true],
|
|
1266
|
+
"minzoom": 16,
|
|
1267
|
+
"layout": {
|
|
1214
1268
|
"text-field": ["get", "name"],
|
|
1215
1269
|
"text-size": [
|
|
1216
1270
|
"interpolate", ["linear"], ["zoom"],
|
|
1217
|
-
|
|
1218
|
-
|
|
1271
|
+
16, 13,
|
|
1272
|
+
18, 15,
|
|
1273
|
+
20, 17
|
|
1219
1274
|
],
|
|
1220
|
-
"text-offset": [0, 1.
|
|
1221
|
-
"text-anchor": "
|
|
1275
|
+
"text-offset": [0, -1.8],
|
|
1276
|
+
"text-anchor": "bottom",
|
|
1222
1277
|
"text-font": ["Noto Sans Bold"],
|
|
1223
|
-
"text-
|
|
1278
|
+
"text-allow-overlap": true,
|
|
1279
|
+
"text-ignore-placement": true,
|
|
1280
|
+
"text-optional": false
|
|
1224
1281
|
},
|
|
1225
1282
|
"paint": {
|
|
1226
1283
|
"text-color": "#ffffff",
|
|
1227
|
-
"text-halo-color": "#
|
|
1228
|
-
"text-halo-width":
|
|
1229
|
-
"text-halo-blur": 0.
|
|
1284
|
+
"text-halo-color": "#162e51",
|
|
1285
|
+
"text-halo-width": 2.5,
|
|
1286
|
+
"text-halo-blur": 0.5
|
|
1287
|
+
}
|
|
1288
|
+
},
|
|
1289
|
+
{
|
|
1290
|
+
"id": "poi-highlight-ring",
|
|
1291
|
+
"type": "circle",
|
|
1292
|
+
"source": "poi-highlight-data",
|
|
1293
|
+
"paint": {
|
|
1294
|
+
"circle-radius": 14,
|
|
1295
|
+
"circle-color": "#005ea2",
|
|
1296
|
+
"circle-opacity": 0.45,
|
|
1297
|
+
"circle-pitch-alignment": "map"
|
|
1298
|
+
}
|
|
1299
|
+
},
|
|
1300
|
+
{
|
|
1301
|
+
"id": "poi-highlight-core",
|
|
1302
|
+
"type": "circle",
|
|
1303
|
+
"source": "poi-highlight-data",
|
|
1304
|
+
"paint": {
|
|
1305
|
+
"circle-radius": 9,
|
|
1306
|
+
"circle-color": "#005ea2",
|
|
1307
|
+
"circle-opacity": 1,
|
|
1308
|
+
"circle-stroke-color": "#ffffff",
|
|
1309
|
+
"circle-stroke-width": 3,
|
|
1310
|
+
"circle-stroke-opacity": 1,
|
|
1311
|
+
"circle-pitch-alignment": "map"
|
|
1230
1312
|
}
|
|
1231
1313
|
}
|
|
1232
1314
|
]
|