@minmaps-dev/mm-web-sdk 1.0.0-rc.11 → 1.0.0-rc.13

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.
@@ -38,6 +38,10 @@
38
38
  "route-endpoints": {
39
39
  "type": "geojson",
40
40
  "data": { "type": "FeatureCollection", "features": [] }
41
+ },
42
+ "poi-highlight-data": {
43
+ "type": "geojson",
44
+ "data": { "type": "FeatureCollection", "features": [] }
41
45
  }
42
46
  },
43
47
  "layers": [
@@ -45,7 +49,7 @@
45
49
  "id": "background",
46
50
  "type": "background",
47
51
  "paint": {
48
- "background-color": "#F5F5F5"
52
+ "background-color": "#f0f0f0"
49
53
  }
50
54
  },
51
55
  {
@@ -68,7 +72,7 @@
68
72
  ["literal", ["park", "forest", "wood", "nature_reserve", "grass", "garden", "playground", "cemetery", "golf_course"]]
69
73
  ],
70
74
  "paint": {
71
- "fill-color": "#D1E8C9",
75
+ "fill-color": "#dde8d4",
72
76
  "fill-opacity": [
73
77
  "interpolate",
74
78
  ["linear"],
@@ -84,7 +88,7 @@
84
88
  "source": "protomaps",
85
89
  "source-layer": "water",
86
90
  "paint": {
87
- "fill-color": "#A8D0E6"
91
+ "fill-color": "#d9e8f6"
88
92
  }
89
93
  },
90
94
  {
@@ -129,7 +133,7 @@
129
133
  ["literal", ["highway", "major_road", "medium_road"]]
130
134
  ],
131
135
  "paint": {
132
- "line-color": "#FFD480",
136
+ "line-color": "#ecc97e",
133
137
  "line-width": [
134
138
  "interpolate",
135
139
  ["linear"],
@@ -155,7 +159,7 @@
155
159
  "minzoom": 16.5,
156
160
  "filter": ["==", ["get", "featureType"], "Pattern-Water"],
157
161
  "paint": {
158
- "fill-color": "#5DADE2",
162
+ "fill-color": "#cfe1ec",
159
163
  "fill-opacity": 0.6
160
164
  }
161
165
  },
@@ -166,7 +170,7 @@
166
170
  "minzoom": 16.5,
167
171
  "filter": ["==", ["get", "featureType"], "Pattern-Grass"],
168
172
  "paint": {
169
- "fill-color": "#7CB342",
173
+ "fill-color": "#d2e0c6",
170
174
  "fill-opacity": 0.5
171
175
  }
172
176
  },
@@ -177,7 +181,7 @@
177
181
  "minzoom": 16.5,
178
182
  "filter": ["==", ["get", "featureType"], "Pattern-Trees"],
179
183
  "paint": {
180
- "fill-color": "#4CAF50",
184
+ "fill-color": "#cdd9c9",
181
185
  "fill-opacity": 0.4
182
186
  }
183
187
  },
@@ -200,7 +204,7 @@
200
204
  "minzoom": 16.5,
201
205
  "filter": ["==", ["get", "featureType"], "Pattern-OutdoorTerrace"],
202
206
  "paint": {
203
- "fill-color": "#8D6E63",
207
+ "fill-color": "#cabfb6",
204
208
  "fill-opacity": 0.3
205
209
  }
206
210
  },
@@ -211,8 +215,8 @@
211
215
  "source": "indoor-data",
212
216
  "filter": ["==", ["get", "featureType"], "Parking-Lots"],
213
217
  "paint": {
214
- "fill-color": "#BDBDBD",
215
- "fill-opacity": 0.6
218
+ "fill-color": "#e0e0dd",
219
+ "fill-opacity": 0.5
216
220
  }
217
221
  },
218
222
  {
@@ -221,7 +225,7 @@
221
225
  "source": "indoor-data",
222
226
  "filter": ["==", ["get", "featureType"], "Parking-Lots"],
223
227
  "paint": {
224
- "line-color": "#757575",
228
+ "line-color": "#b0b0ad",
225
229
  "line-width": 1,
226
230
  "line-dasharray": [3, 2]
227
231
  }
@@ -242,11 +246,17 @@
242
246
  "id": "building-roof-fill",
243
247
  "type": "fill",
244
248
  "source": "indoor-data",
245
- "minzoom": 16.5,
249
+ "minzoom": 15.8,
246
250
  "filter": ["==", ["get", "featureType"], "Boundary"],
247
251
  "paint": {
248
252
  "fill-color": "#162e51",
249
- "fill-opacity": 1
253
+ "fill-opacity": [
254
+ "interpolate",
255
+ ["linear"],
256
+ ["zoom"],
257
+ 15.8, 0,
258
+ 16.5, 1
259
+ ]
250
260
  }
251
261
  },
252
262
  {
@@ -302,30 +312,30 @@
302
312
  "match",
303
313
  ["get", "category"],
304
314
  "healthcare",
305
- "#7C3AED",
306
- "emergency",
307
- "#DC2626",
308
- "diagnostic",
309
- "#0EA5E9",
315
+ "#73b3e7",
310
316
  "surgical",
311
- "#7C3AED",
317
+ "#73b3e7",
318
+ "waiting",
319
+ "#73b3e7",
320
+ "diagnostic",
321
+ "#97d4ea",
322
+ "amenities",
323
+ "#97d4ea",
324
+ "emergency",
325
+ "#f2938c",
312
326
  "retail",
313
- "#FF6B6B",
327
+ "#fee685",
314
328
  "fnb",
315
- "#FFA500",
329
+ "#fee685",
316
330
  "admin",
317
- "#A29BFE",
318
- "amenities",
319
- "#48C9B0",
331
+ "#dfe1e2",
320
332
  "staff",
321
- "#74B9FF",
333
+ "#dfe1e2",
322
334
  "security",
323
- "#1A7A96",
324
- "waiting",
325
- "#E1BEE7",
326
- "#8ecae6"
335
+ "#dfe1e2",
336
+ "#73b3e7"
327
337
  ],
328
- "#8ecae6"
338
+ "#73b3e7"
329
339
  ],
330
340
  "fill-opacity": [
331
341
  "interpolate",
@@ -364,7 +374,7 @@
364
374
  "minzoom": 16.5,
365
375
  "filter": ["==", ["get", "featureType"], "Back-of-house"],
366
376
  "paint": {
367
- "fill-color": "#D6D6CC",
377
+ "fill-color": "#e6e6e2",
368
378
  "fill-opacity": 0.7
369
379
  }
370
380
  },
@@ -376,7 +386,7 @@
376
386
  "minzoom": 16.5,
377
387
  "filter": ["==", ["get", "featureType"], "Back-of-house"],
378
388
  "paint": {
379
- "line-color": "#90A4AE",
389
+ "line-color": "#c4c4c4",
380
390
  "line-width": 0.5,
381
391
  "line-opacity": 0.4
382
392
  }
@@ -392,7 +402,7 @@
392
402
  "line-cap": "round"
393
403
  },
394
404
  "paint": {
395
- "line-color": "#7B8D93",
405
+ "line-color": "#b0b1b5",
396
406
  "line-width": [
397
407
  "interpolate",
398
408
  ["linear"],
@@ -415,7 +425,7 @@
415
425
  "minzoom": 16.5,
416
426
  "filter": ["==", ["get", "featureType"], "Restrooms"],
417
427
  "paint": {
418
- "fill-color": "#5B8468",
428
+ "fill-color": "#5f9070",
419
429
  "fill-opacity": 1
420
430
  }
421
431
  },
@@ -430,7 +440,7 @@
430
440
  "line-cap": "round"
431
441
  },
432
442
  "paint": {
433
- "line-color": "#3F5D4A",
443
+ "line-color": "#3f5d4a",
434
444
  "line-width": [
435
445
  "interpolate",
436
446
  ["linear"],
@@ -495,7 +505,7 @@
495
505
  ["literal", ["Escalators", "Stairs", "Elevators"]]
496
506
  ],
497
507
  "paint": {
498
- "fill-color": "#6A8799",
508
+ "fill-color": "#a9aeb1",
499
509
  "fill-opacity": 1
500
510
  }
501
511
  },
@@ -514,7 +524,7 @@
514
524
  "line-cap": "round"
515
525
  },
516
526
  "paint": {
517
- "line-color": "#455A64",
527
+ "line-color": "#6f7780",
518
528
  "line-width": [
519
529
  "interpolate",
520
530
  ["linear"],
@@ -541,7 +551,7 @@
541
551
  ["literal", ["Exits", "Doors", "Exit", "Door"]]
542
552
  ],
543
553
  "paint": {
544
- "fill-color": "#4CAF50",
554
+ "fill-color": "#cdd9c9",
545
555
  "fill-opacity": 0.6
546
556
  }
547
557
  },
@@ -553,7 +563,7 @@
553
563
  "minzoom": 16.5,
554
564
  "filter": ["==", ["get", "featureType"], "Kiosks"],
555
565
  "paint": {
556
- "fill-color": "#9C27B0",
566
+ "fill-color": "#ffe396",
557
567
  "fill-opacity": 0.7
558
568
  }
559
569
  },
@@ -565,7 +575,7 @@
565
575
  "minzoom": 16.5,
566
576
  "filter": ["==", ["get", "featureType"], "Pattern-Lounge"],
567
577
  "paint": {
568
- "fill-color": "#CE93D8",
578
+ "fill-color": "#ddd2e0",
569
579
  "fill-opacity": 0.5
570
580
  }
571
581
  },
@@ -577,7 +587,7 @@
577
587
  "minzoom": 16.5,
578
588
  "filter": ["==", ["get", "featureType"], "Pattern-IndoorFoodcourt"],
579
589
  "paint": {
580
- "fill-color": "#FFCC80",
590
+ "fill-color": "#f3e4c4",
581
591
  "fill-opacity": 0.6
582
592
  }
583
593
  },
@@ -653,19 +663,19 @@
653
663
  "line-cap": "round"
654
664
  },
655
665
  "paint": {
656
- "line-color": "#face00",
666
+ "line-color": "#c8a85a",
657
667
  "line-width": [
658
668
  "interpolate",
659
669
  ["linear"],
660
670
  ["zoom"],
661
671
  15,
662
- 1.6,
672
+ 1.5,
663
673
  18,
664
- 2.4,
674
+ 2,
665
675
  20,
666
- 3.2
676
+ 2.5
667
677
  ],
668
- "line-opacity": 0.95
678
+ "line-opacity": 0.55
669
679
  }
670
680
  },
671
681
  {
@@ -695,12 +705,17 @@
695
705
  "type": "fill-extrusion",
696
706
  "source": "indoor-data",
697
707
  "filter": ["==", ["get", "featureType"], "Boundary"],
698
- "maxzoom": 16.5,
699
708
  "paint": {
700
709
  "fill-extrusion-color": "#162e51",
701
710
  "fill-extrusion-height": 15,
702
711
  "fill-extrusion-base": 0,
703
- "fill-extrusion-opacity": 1
712
+ "fill-extrusion-opacity": [
713
+ "interpolate",
714
+ ["linear"],
715
+ ["zoom"],
716
+ 15.8, 1,
717
+ 16.5, 0
718
+ ]
704
719
  }
705
720
  },
706
721
 
@@ -715,38 +730,7 @@
715
730
  ["!", ["has", "custom_height"]]
716
731
  ],
717
732
  "paint": {
718
- "fill-extrusion-color": [
719
- "case",
720
- ["has", "category"],
721
- [
722
- "match",
723
- ["get", "category"],
724
- "healthcare",
725
- "#5B2DB8",
726
- "emergency",
727
- "#B91C1C",
728
- "diagnostic",
729
- "#0C7FAB",
730
- "surgical",
731
- "#5B2DB8",
732
- "retail",
733
- "#CC5555",
734
- "fnb",
735
- "#CC8400",
736
- "admin",
737
- "#7B73CC",
738
- "amenities",
739
- "#3A9B88",
740
- "staff",
741
- "#5C96CC",
742
- "security",
743
- "#135C75",
744
- "waiting",
745
- "#B894C2",
746
- "#eeeeee"
747
- ],
748
- "#eeeeee"
749
- ],
733
+ "fill-extrusion-color": "#c4c8cb",
750
734
  "fill-extrusion-height": [
751
735
  "interpolate",
752
736
  ["linear"],
@@ -754,15 +738,15 @@
754
738
  15.5,
755
739
  0,
756
740
  16.5,
757
- 2,
741
+ ["case", ["==", ["get", "wallKind"], "interior"], 0.5, 1],
758
742
  17.5,
759
- 3,
743
+ ["case", ["==", ["get", "wallKind"], "interior"], 0.7, 1.4],
760
744
  18.2,
761
- 3.2
745
+ ["case", ["==", ["get", "wallKind"], "interior"], 0.9, 1.6]
762
746
  ],
763
747
  "fill-extrusion-base": 0,
764
- "fill-extrusion-vertical-gradient": false,
765
- "fill-extrusion-opacity": 0.9
748
+ "fill-extrusion-vertical-gradient": true,
749
+ "fill-extrusion-opacity": 1
766
750
  }
767
751
  },
768
752
 
@@ -773,42 +757,23 @@
773
757
  "minzoom": 16.5,
774
758
  "filter": ["has", "custom_height"],
775
759
  "paint": {
776
- "fill-extrusion-color": [
777
- "case",
778
- ["has", "category"],
779
- [
780
- "match",
781
- ["get", "category"],
782
- "healthcare",
783
- "#5B2DB8",
784
- "emergency",
785
- "#B91C1C",
786
- "diagnostic",
787
- "#0C7FAB",
788
- "surgical",
789
- "#5B2DB8",
790
- "retail",
791
- "#CC5555",
792
- "fnb",
793
- "#CC8400",
794
- "admin",
795
- "#7B73CC",
796
- "amenities",
797
- "#3A9B88",
798
- "staff",
799
- "#5C96CC",
800
- "security",
801
- "#135C75",
802
- "waiting",
803
- "#B894C2",
804
- "#FDFAF2"
805
- ],
806
- "#FDFAF2"
760
+ "fill-extrusion-color": "#c4c8cb",
761
+ "fill-extrusion-height": [
762
+ "interpolate",
763
+ ["linear"],
764
+ ["zoom"],
765
+ 15.5,
766
+ 0,
767
+ 16.5,
768
+ 1,
769
+ 17.5,
770
+ 1.4,
771
+ 18.2,
772
+ 1.6
807
773
  ],
808
- "fill-extrusion-height": ["to-number", ["get", "custom_height"]],
809
774
  "fill-extrusion-base": 0,
810
- "fill-extrusion-vertical-gradient": false,
811
- "fill-extrusion-opacity": 0.95
775
+ "fill-extrusion-vertical-gradient": true,
776
+ "fill-extrusion-opacity": 1
812
777
  }
813
778
  },
814
779
 
@@ -840,7 +805,7 @@
840
805
  "minzoom": 16.5,
841
806
  "filter": ["==", ["get", "featureType"], "Back-of-house"],
842
807
  "paint": {
843
- "fill-extrusion-color": "#D6D6CC",
808
+ "fill-extrusion-color": "#e6e6e2",
844
809
  "fill-extrusion-height": [
845
810
  "interpolate",
846
811
  ["linear"],
@@ -848,11 +813,11 @@
848
813
  15.5,
849
814
  0,
850
815
  16.5,
851
- 2,
816
+ 1,
852
817
  17.5,
853
- 3,
818
+ 1.4,
854
819
  18.2,
855
- 3.2
820
+ 1.6
856
821
  ],
857
822
  "fill-extrusion-base": 0,
858
823
  "fill-extrusion-opacity": 1
@@ -866,7 +831,7 @@
866
831
  "minzoom": 16.5,
867
832
  "filter": ["==", ["get", "featureType"], "Restrooms"],
868
833
  "paint": {
869
- "fill-extrusion-color": "#5B8468",
834
+ "fill-extrusion-color": "#5f9070",
870
835
  "fill-extrusion-height": [
871
836
  "interpolate",
872
837
  ["linear"],
@@ -874,14 +839,14 @@
874
839
  15.5,
875
840
  0,
876
841
  16.5,
877
- 2,
842
+ 1,
878
843
  17.5,
879
- 3,
844
+ 1.4,
880
845
  18.2,
881
- 3.2
846
+ 1.6
882
847
  ],
883
848
  "fill-extrusion-base": 0,
884
- "fill-extrusion-opacity": 0.9
849
+ "fill-extrusion-opacity": 0.95
885
850
  }
886
851
  },
887
852
 
@@ -900,11 +865,11 @@
900
865
  15.5,
901
866
  0,
902
867
  16.5,
903
- 0.8,
868
+ 0.4,
904
869
  17.5,
905
- 1.5,
870
+ 0.6,
906
871
  18.2,
907
- 2
872
+ 0.8
908
873
  ],
909
874
  "fill-extrusion-base": 0,
910
875
  "fill-extrusion-opacity": 1
@@ -922,7 +887,7 @@
922
887
  ["literal", ["Escalators", "Stairs", "Elevators"]]
923
888
  ],
924
889
  "paint": {
925
- "fill-extrusion-color": "#6A8799",
890
+ "fill-extrusion-color": "#a9aeb1",
926
891
  "fill-extrusion-height": [
927
892
  "interpolate",
928
893
  ["linear"],
@@ -930,11 +895,11 @@
930
895
  15.5,
931
896
  0,
932
897
  16.5,
933
- 2,
898
+ 1,
934
899
  17.5,
935
- 3,
900
+ 1.4,
936
901
  18.2,
937
- 3.2
902
+ 1.6
938
903
  ],
939
904
  "fill-extrusion-base": 0,
940
905
  "fill-extrusion-vertical-gradient": true,
@@ -957,11 +922,11 @@
957
922
  15,
958
923
  0,
959
924
  16,
960
- 2,
925
+ 1,
961
926
  17,
962
- 3,
927
+ 1.4,
963
928
  18,
964
- 4
929
+ 1.6
965
930
  ],
966
931
  "fill-extrusion-base": 0,
967
932
  "fill-extrusion-opacity": 0.85
@@ -1059,15 +1024,14 @@
1059
1024
  "paint": {
1060
1025
  "circle-radius": [
1061
1026
  "interpolate", ["linear"], ["zoom"],
1062
- 15, 3,
1063
- 17, 4,
1064
- 19, 5,
1065
- 20, 6
1027
+ 16, 6,
1028
+ 18, 8,
1029
+ 20, 10
1066
1030
  ],
1067
- "circle-color": "#162e51",
1068
- "circle-stroke-width": 2,
1069
- "circle-stroke-color": "#FFFFFF",
1070
- "circle-opacity": 0.9
1031
+ "circle-color": "#ffffff",
1032
+ "circle-stroke-width": 3,
1033
+ "circle-stroke-color": "#162e51",
1034
+ "circle-opacity": 1
1071
1035
  }
1072
1036
  },
1073
1037
 
@@ -1080,19 +1044,22 @@
1080
1044
  ["==", ["get", "poiType"], "destination"],
1081
1045
  ["==", ["get", "showLabel"], true]
1082
1046
  ],
1083
- "minzoom": 18.5,
1047
+ "minzoom": 16.5,
1084
1048
  "layout": {
1049
+ "symbol-sort-key": 0,
1085
1050
  "text-field": ["get", "name"],
1086
1051
  "text-size": [
1087
1052
  "interpolate", ["linear"], ["zoom"],
1088
- 18.5, 12,
1089
- 20, 14
1053
+ 16.5, 18,
1054
+ 18, 20,
1055
+ 20, 23
1090
1056
  ],
1091
- "text-offset": [0, 0.8],
1092
- "text-anchor": "top",
1057
+ "text-offset": [0, -0.9],
1058
+ "text-anchor": "bottom",
1093
1059
  "text-font": ["Noto Sans Bold"],
1094
1060
  "text-max-width": 12,
1095
1061
  "text-allow-overlap": false,
1062
+ "text-padding": 4,
1096
1063
  "text-rotation-alignment": "viewport"
1097
1064
  },
1098
1065
  "paint": {
@@ -1119,6 +1086,7 @@
1119
1086
  ],
1120
1087
  "minzoom": 15,
1121
1088
  "layout": {
1089
+ "symbol-sort-key": 1,
1122
1090
  "icon-image": ["get", "iconId"],
1123
1091
  "icon-size": [
1124
1092
  "interpolate", ["linear"], ["zoom"],
@@ -1126,8 +1094,8 @@
1126
1094
  18, 0.6,
1127
1095
  20, 0.8
1128
1096
  ],
1129
- "icon-allow-overlap": true,
1130
- "icon-padding": 2,
1097
+ "icon-allow-overlap": false,
1098
+ "icon-padding": 4,
1131
1099
  "icon-optional": false,
1132
1100
  "icon-rotation-alignment": "viewport",
1133
1101
  "icon-pitch-alignment": "viewport",
@@ -1135,10 +1103,9 @@
1135
1103
  "text-field": ["get", "name"],
1136
1104
  "text-size": [
1137
1105
  "interpolate", ["linear"], ["zoom"],
1138
- 16.5, 0,
1139
- 18.5, 0,
1140
- 19, 12,
1141
- 20, 13
1106
+ 16, ["case", ["!=", ["coalesce", ["get", "iconId"], ""], ""], 0, 17],
1107
+ 19, ["case", ["!=", ["coalesce", ["get", "iconId"], ""], ""], 0, 19],
1108
+ 20, ["case", ["!=", ["coalesce", ["get", "iconId"], ""], ""], 0, 22]
1142
1109
  ],
1143
1110
  "text-offset": [0, 1.3],
1144
1111
  "text-anchor": "top",
@@ -1174,6 +1141,7 @@
1174
1141
  ],
1175
1142
  "minzoom": 14,
1176
1143
  "layout": {
1144
+ "symbol-sort-key": 2,
1177
1145
  "icon-image": ["get", "iconId"],
1178
1146
  "icon-size": [
1179
1147
  "interpolate", ["linear"], ["zoom"],
@@ -1181,8 +1149,8 @@
1181
1149
  18, 0.6,
1182
1150
  20, 0.8
1183
1151
  ],
1184
- "icon-allow-overlap": true,
1185
- "icon-padding": 2,
1152
+ "icon-allow-overlap": false,
1153
+ "icon-padding": 4,
1186
1154
  "icon-optional": false,
1187
1155
  "icon-rotation-alignment": "viewport",
1188
1156
  "icon-pitch-alignment": "viewport",
@@ -1190,10 +1158,9 @@
1190
1158
  "text-field": ["get", "name"],
1191
1159
  "text-size": [
1192
1160
  "interpolate", ["linear"], ["zoom"],
1193
- 16.5, 0,
1194
- 18.5, 0,
1195
- 19, 12,
1196
- 20, 13
1161
+ 16, ["case", ["!=", ["coalesce", ["get", "iconId"], ""], ""], 0, 17],
1162
+ 19, ["case", ["!=", ["coalesce", ["get", "iconId"], ""], ""], 0, 19],
1163
+ 20, ["case", ["!=", ["coalesce", ["get", "iconId"], ""], ""], 0, 22]
1197
1164
  ],
1198
1165
  "text-offset": [0, 1.3],
1199
1166
  "text-anchor": "top",
@@ -1227,17 +1194,18 @@
1227
1194
  ["==", ["index-of", "parking", ["get", "keywords"]], -1],
1228
1195
  ["==", ["index-of", "park", ["get", "keywords"]], -1]
1229
1196
  ],
1230
- "minzoom": 17.5,
1197
+ "minzoom": 16.5,
1231
1198
  "layout": {
1199
+ "symbol-sort-key": 3,
1232
1200
  "icon-image": ["get", "iconId"],
1233
1201
  "icon-size": [
1234
1202
  "interpolate", ["linear"], ["zoom"],
1235
- 17.5, 0.5,
1203
+ 16.5, 0.5,
1236
1204
  18, 0.6,
1237
1205
  20, 0.8
1238
1206
  ],
1239
- "icon-allow-overlap": true,
1240
- "icon-padding": 2,
1207
+ "icon-allow-overlap": false,
1208
+ "icon-padding": 4,
1241
1209
  "icon-optional": false,
1242
1210
  "icon-rotation-alignment": "viewport",
1243
1211
  "icon-pitch-alignment": "viewport",
@@ -1245,10 +1213,9 @@
1245
1213
  "text-field": ["get", "name"],
1246
1214
  "text-size": [
1247
1215
  "interpolate", ["linear"], ["zoom"],
1248
- 17.5, 0,
1249
- 18.5, 0,
1250
- 19, 12,
1251
- 20, 13
1216
+ 16, ["case", ["!=", ["coalesce", ["get", "iconId"], ""], ""], 0, 17],
1217
+ 19, ["case", ["!=", ["coalesce", ["get", "iconId"], ""], ""], 0, 19],
1218
+ 20, ["case", ["!=", ["coalesce", ["get", "iconId"], ""], ""], 0, 22]
1252
1219
  ],
1253
1220
  "text-offset": [0, 1.3],
1254
1221
  "text-anchor": "top",
@@ -1270,42 +1237,94 @@
1270
1237
  }
1271
1238
  },
1272
1239
  {
1273
- "id": "poi-you-are-here",
1274
- "type": "symbol",
1240
+ "id": "poi-you-are-here-ring",
1241
+ "type": "circle",
1275
1242
  "source": "poi-data",
1276
1243
  "filter": ["==", ["get", "isYouAreHere"], true],
1277
- "minzoom": 16.5,
1278
- "layout": {
1279
- "icon-image": [
1280
- "coalesce",
1281
- ["get", "iconId"],
1282
- "you-are-here"
1244
+ "minzoom": 16,
1245
+ "paint": {
1246
+ "circle-radius": [
1247
+ "interpolate", ["linear"], ["zoom"],
1248
+ 16, 14,
1249
+ 18, 18,
1250
+ 20, 24
1283
1251
  ],
1284
- "icon-size": [
1252
+ "circle-color": "#face00",
1253
+ "circle-opacity": 0.25,
1254
+ "circle-pitch-alignment": "map"
1255
+ }
1256
+ },
1257
+ {
1258
+ "id": "poi-you-are-here-dot",
1259
+ "type": "circle",
1260
+ "source": "poi-data",
1261
+ "filter": ["==", ["get", "isYouAreHere"], true],
1262
+ "minzoom": 16,
1263
+ "paint": {
1264
+ "circle-radius": [
1285
1265
  "interpolate", ["linear"], ["zoom"],
1286
- 16.5, 0.8,
1287
- 18.0, 1.0,
1288
- 20.0, 1.2
1266
+ 16, 7,
1267
+ 18, 9,
1268
+ 20, 12
1289
1269
  ],
1290
- "icon-allow-overlap": true,
1291
- "icon-ignore-placement": true,
1292
- "icon-anchor": "bottom",
1270
+ "circle-color": "#face00",
1271
+ "circle-opacity": 1,
1272
+ "circle-stroke-color": "#ffffff",
1273
+ "circle-stroke-width": 3,
1274
+ "circle-stroke-opacity": 1
1275
+ }
1276
+ },
1277
+ {
1278
+ "id": "poi-you-are-here",
1279
+ "type": "symbol",
1280
+ "source": "poi-data",
1281
+ "filter": ["==", ["get", "isYouAreHere"], true],
1282
+ "minzoom": 16,
1283
+ "layout": {
1293
1284
  "text-field": ["get", "name"],
1294
1285
  "text-size": [
1295
1286
  "interpolate", ["linear"], ["zoom"],
1296
- 17.5, 11,
1297
- 19.5, 13
1287
+ 16, 17,
1288
+ 18, 19,
1289
+ 20, 22
1298
1290
  ],
1299
- "text-offset": [0, 1.2],
1300
- "text-anchor": "top",
1291
+ "text-offset": [0, -1.8],
1292
+ "text-anchor": "bottom",
1301
1293
  "text-font": ["Noto Sans Bold"],
1302
- "text-optional": true
1294
+ "text-allow-overlap": true,
1295
+ "text-ignore-placement": true,
1296
+ "text-optional": false
1303
1297
  },
1304
1298
  "paint": {
1305
1299
  "text-color": "#ffffff",
1306
- "text-halo-color": "#000000",
1307
- "text-halo-width": 1.5,
1308
- "text-halo-blur": 0.8
1300
+ "text-halo-color": "#162e51",
1301
+ "text-halo-width": 2.5,
1302
+ "text-halo-blur": 0.5
1303
+ }
1304
+ },
1305
+ {
1306
+ "id": "poi-highlight-ring",
1307
+ "type": "circle",
1308
+ "source": "poi-highlight-data",
1309
+ "paint": {
1310
+ "circle-radius": 14,
1311
+ "circle-color": "#005ea2",
1312
+ "circle-opacity": 0.45,
1313
+ "circle-pitch-alignment": "map"
1314
+ }
1315
+ },
1316
+ {
1317
+ "id": "poi-highlight-core",
1318
+ "type": "circle",
1319
+ "source": "poi-highlight-data",
1320
+ "paint": {
1321
+ "circle-radius": 9,
1322
+ "circle-color": "#005ea2",
1323
+ "circle-opacity": 1,
1324
+ "circle-stroke-color": "#ffffff",
1325
+ "circle-stroke-width": 3,
1326
+ "circle-stroke-opacity": 1,
1327
+ "circle-pitch-alignment": "map"
1309
1328
  }
1310
1329
  }
1311
1330
  ]