@minmaps-dev/mm-web-sdk 1.0.0-rc.34 → 1.0.0-rc.36

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.
@@ -518,7 +518,7 @@
518
518
  "filter": [
519
519
  "in",
520
520
  ["get", "kind"],
521
- ["literal", ["place_of_worship", "fire_station", "post_office", "library", "townhall", "school", "hospital"]]
521
+ ["literal", ["place_of_worship", "fire_station", "post_office", "library", "townhall", "school"]]
522
522
  ],
523
523
  "layout": {
524
524
  "symbol-sort-key": 25,
@@ -635,44 +635,10 @@
635
635
  "minzoom": 16.5,
636
636
  "filter": ["==", ["get", "featureType"], "Pattern-Water"],
637
637
  "paint": {
638
- "fill-color": "#cfe1ec",
639
- "fill-opacity": 0.6
640
- }
641
- },
642
- {
643
- "id": "pattern-grass",
644
- "type": "fill",
645
- "source": "indoor-data",
646
- "minzoom": 16.5,
647
- "filter": ["==", ["get", "featureType"], "Pattern-Grass"],
648
- "paint": {
649
- "fill-color": "#d2e0c6",
650
- "fill-opacity": 0.5
651
- }
652
- },
653
- {
654
- "id": "pattern-trees",
655
- "type": "fill",
656
- "source": "indoor-data",
657
- "minzoom": 16.5,
658
- "filter": ["==", ["get", "featureType"], "Pattern-Trees"],
659
- "paint": {
660
- "fill-color": "#7D9F64",
661
- "fill-opacity": 0.8
662
- }
663
- },
664
- {
665
- "id": "pattern-pavement",
666
- "type": "fill",
667
- "source": "indoor-data",
668
- "minzoom": 16.5,
669
- "filter": ["==", ["get", "featureType"], "Pattern-Pavement"],
670
- "paint": {
671
- "fill-color": "#E0E0E0",
672
- "fill-opacity": 0.6
638
+ "fill-color": "#cfe1ec"
639
+
673
640
  }
674
641
  },
675
-
676
642
  {
677
643
  "id": "pattern-outdoor-terrace",
678
644
  "type": "fill",
@@ -689,7 +655,7 @@
689
655
  "id": "parking-lots",
690
656
  "type": "fill",
691
657
  "source": "indoor-data",
692
- "minzoom": 16.5,
658
+
693
659
  "filter": ["==", ["get", "featureType"], "Parking-Lots"],
694
660
  "paint": {
695
661
  "fill-color": "#adadad",
@@ -708,15 +674,13 @@
708
674
  "line-dasharray": [3, 2]
709
675
  }
710
676
  },
711
-
712
677
  {
713
678
  "id": "boundary-fill",
714
679
  "type": "fill",
715
680
  "source": "indoor-data",
716
- "minzoom": 16.5,
717
681
  "filter": ["==", ["get", "featureType"], "Boundary"],
718
682
  "paint": {
719
- "fill-color": "#edeef1",
683
+ "fill-color": "#162e51",
720
684
  "fill-opacity": 1
721
685
  }
722
686
  },
@@ -732,11 +696,21 @@
732
696
  "interpolate",
733
697
  ["linear"],
734
698
  ["zoom"],
735
- 15.8, 0,
736
- 16.5, 1
699
+ 15.8, 1,
700
+ 16.5, 0
737
701
  ]
738
702
  }
739
703
  },
704
+ {
705
+ "id": "pattern-pavement",
706
+ "type": "fill",
707
+ "source": "indoor-data",
708
+ "minzoom": 16.5,
709
+ "filter": ["==", ["get", "featureType"], "Pattern-Pavement"],
710
+ "paint": {
711
+ "fill-color": "#adadad"
712
+ }
713
+ },
740
714
  {
741
715
  "id": "corridors-fill",
742
716
  "type": "fill",
@@ -748,11 +722,72 @@
748
722
  ["==", ["get", "featureType"], "Corridor"]
749
723
  ],
750
724
  "paint": {
751
- "fill-color": "#f0f0f0"
725
+ "fill-color": "#f0f0f0"
752
726
  }
753
727
  },
754
-
755
-
728
+ {
729
+ "id": "pattern-grass",
730
+ "type": "fill",
731
+ "source": "indoor-data",
732
+
733
+ "filter": ["==", ["get", "featureType"], "Pattern-Grass"],
734
+ "paint": {
735
+ "fill-color": "#B6D0AE",
736
+ "fill-opacity": 1
737
+ }
738
+ },
739
+ {
740
+ "id": "pattern-trees",
741
+ "type": "fill",
742
+ "source": "indoor-data",
743
+ "minzoom": 16.5,
744
+ "filter": ["==", ["get", "featureType"], "Pattern-Trees"],
745
+ "paint": {
746
+ "fill-color": "#7D9F64",
747
+ "fill-opacity": 1
748
+ }
749
+ },
750
+ {
751
+ "id": "custom-artLayer-5-fill",
752
+ "type": "fill",
753
+ "source": "indoor-data",
754
+ "minzoom": 16.5,
755
+ "filter": ["==", ["get", "featureType"], "CustomArtLayer-5"],
756
+ "paint": {
757
+ "fill-color": "#DDE9F0",
758
+ "fill-opacity": 0.8
759
+ }
760
+ },
761
+ {
762
+ "id": "custom-artLayer-4-fill",
763
+ "type": "fill",
764
+ "source": "indoor-data",
765
+ "minzoom": 16.5,
766
+ "filter": ["==", ["get", "featureType"], "CustomArtLayer-4"],
767
+ "paint": {
768
+ "fill-color": "#D1D1D1"
769
+ }
770
+ },
771
+ {
772
+ "id": "custom-artLayer-2-fill",
773
+ "type": "fill",
774
+ "source": "indoor-data",
775
+ "minzoom": 16.5,
776
+ "filter": ["==", ["get", "featureType"], "CustomArtLayer-2"],
777
+ "paint": {
778
+ "fill-color": "#B7C3CB"
779
+ }
780
+ },
781
+ {
782
+ "id": "custom-artLayer-1-fill",
783
+ "type": "fill",
784
+ "source": "indoor-data",
785
+ "minzoom": 16.5,
786
+ "filter": ["==", ["get", "featureType"], "CustomArtLayer-1"],
787
+ "paint": {
788
+ "fill-color": "#B7C3CB"
789
+ }
790
+ },
756
791
  {
757
792
  "id": "units-fill",
758
793
  "type": "fill",
@@ -771,7 +806,7 @@
771
806
  17,
772
807
  0.92,
773
808
  19,
774
- 0.95
809
+ 1
775
810
  ]
776
811
  }
777
812
  },
@@ -800,7 +835,7 @@
800
835
  "filter": ["==", ["get", "featureType"], "Back-of-house"],
801
836
  "paint": {
802
837
  "fill-color": "#e6e6e2",
803
- "fill-opacity": 0.7
838
+ "fill-opacity": 1
804
839
  }
805
840
  },
806
841
 
@@ -815,7 +850,7 @@
815
850
  "line-cap": "round"
816
851
  },
817
852
  "paint": {
818
- "line-color": "#b0b1b5",
853
+ "line-color": "#121213",
819
854
  "line-width": [
820
855
  "interpolate",
821
856
  ["linear"],
@@ -827,7 +862,7 @@
827
862
  20,
828
863
  1.4
829
864
  ],
830
- "line-opacity": 0.9
865
+ "line-opacity": 1
831
866
  }
832
867
  },
833
868
 
@@ -876,8 +911,9 @@
876
911
  "minzoom": 16.5,
877
912
  "filter": ["==", ["get", "featureType"], "Obstacles"],
878
913
  "paint": {
879
- "fill-color": "#E8E9ED",
880
- "fill-opacity": 0.85
914
+ "fill-color": "#e8e9ed",
915
+ "fill-opacity": 1,
916
+ "fill-outline-color": "#7f7f7f"
881
917
  }
882
918
  },
883
919
  {
@@ -891,7 +927,7 @@
891
927
  "line-cap": "round"
892
928
  },
893
929
  "paint": {
894
- "line-color": "#B0B1B5",
930
+ "line-color": "#7f7f7f",
895
931
  "line-width": [
896
932
  "interpolate",
897
933
  ["linear"],
@@ -903,7 +939,7 @@
903
939
  20,
904
940
  1.2
905
941
  ],
906
- "line-opacity": 0.9
942
+ "line-opacity": 1
907
943
  }
908
944
  },
909
945
 
@@ -919,7 +955,8 @@
919
955
  ],
920
956
  "paint": {
921
957
  "fill-color": "#a9aeb1",
922
- "fill-opacity": 1
958
+ "fill-opacity": 1,
959
+ "fill-outline-color": "#053851"
923
960
  }
924
961
  },
925
962
  {
@@ -937,19 +974,19 @@
937
974
  "line-cap": "round"
938
975
  },
939
976
  "paint": {
940
- "line-color": "#6f7780",
977
+ "line-color": "#4A4C4D",
941
978
  "line-width": [
942
979
  "interpolate",
943
980
  ["linear"],
944
981
  ["zoom"],
945
982
  16,
946
- 0.6,
983
+ 1,
947
984
  18,
948
- 1.0,
985
+ 1.5,
949
986
  20,
950
- 1.4
987
+ 4
951
988
  ],
952
- "line-opacity": 0.9
989
+ "line-opacity": 1
953
990
  }
954
991
  },
955
992
 
@@ -974,7 +1011,7 @@
974
1011
  "filter": ["==", ["get", "featureType"], "Pattern-Lounge"],
975
1012
  "paint": {
976
1013
  "fill-color": "#ddd2e0",
977
- "fill-opacity": 0.5
1014
+ "fill-opacity": 1
978
1015
  }
979
1016
  },
980
1017
 
@@ -986,7 +1023,7 @@
986
1023
  "filter": ["==", ["get", "featureType"], "Pattern-Indoor-FoodCourt-Seating"],
987
1024
  "paint": {
988
1025
  "fill-color": "#f3e4c4",
989
- "fill-opacity": 0.6
1026
+ "fill-opacity": 1
990
1027
  }
991
1028
  },
992
1029
 
@@ -1001,7 +1038,7 @@
1001
1038
  ["==", ["get", "featureType"], "Corridor"]
1002
1039
  ],
1003
1040
  "paint": {
1004
- "line-color": "#c6cace",
1041
+ "line-color": "#343a40",
1005
1042
  "line-width": [
1006
1043
  "interpolate",
1007
1044
  ["linear"],
@@ -1084,7 +1121,7 @@
1084
1121
  "filter": ["==", ["get", "featureType"], "Interior-ParkingLots"],
1085
1122
  "paint": {
1086
1123
  "fill-color": "#757575",
1087
- "fill-opacity": 0.8
1124
+ "fill-opacity": 1
1088
1125
  }
1089
1126
  },
1090
1127
  {
@@ -1252,7 +1289,7 @@
1252
1289
  "type": "fill-extrusion",
1253
1290
  "source": "indoor-data",
1254
1291
  "minzoom": 16.5,
1255
- "filter": ["==", ["get", "featureType"], "Back-of-house"],
1292
+ "filter": ["==", ["get", "featureType"], "Back-of-houseBlock"],
1256
1293
  "paint": {
1257
1294
  "fill-extrusion-color": "#e6e6e2",
1258
1295
  "fill-extrusion-height": [
@@ -1278,7 +1315,7 @@
1278
1315
  "type": "fill-extrusion",
1279
1316
  "source": "indoor-data",
1280
1317
  "minzoom": 16.5,
1281
- "filter": ["==", ["get", "featureType"], "Restrooms"],
1318
+ "filter": ["==", ["get", "featureType"], "RestroomsBlock"],
1282
1319
  "paint": {
1283
1320
  "fill-extrusion-color": "#5f9070",
1284
1321
  "fill-extrusion-height": [
@@ -1304,7 +1341,7 @@
1304
1341
  "type": "fill-extrusion",
1305
1342
  "source": "indoor-data",
1306
1343
  "minzoom": 16.5,
1307
- "filter": ["==", ["get", "featureType"], "Obstacles"],
1344
+ "filter": ["==", ["get", "featureType"], "ObstaclesBlock"],
1308
1345
  "paint": {
1309
1346
  "fill-extrusion-color": "#E8E9ED",
1310
1347
  "fill-extrusion-height": [
@@ -1333,7 +1370,7 @@
1333
1370
  "filter": [
1334
1371
  "in",
1335
1372
  ["get", "featureType"],
1336
- ["literal", ["Escalators", "Stairs", "Elevators"]]
1373
+ ["literal", ["EscalatorsBlock", "StairsBlock", "ElevatorsBlock"]]
1337
1374
  ],
1338
1375
  "paint": {
1339
1376
  "fill-extrusion-color": "#a9aeb1",
@@ -1542,61 +1579,6 @@
1542
1579
  }
1543
1580
  },
1544
1581
 
1545
- {
1546
- "id": "poi-destination-circles",
1547
- "type": "circle",
1548
- "source": "poi-data",
1549
- "filter": ["==", ["get", "poiType"], "destination"],
1550
- "minzoom": 16.5,
1551
- "paint": {
1552
- "circle-radius": [
1553
- "interpolate", ["linear"], ["zoom"],
1554
- 14, 3,
1555
- 16, 5,
1556
- 18, 7,
1557
- 20, 10
1558
- ],
1559
- "circle-color": "#ffffff",
1560
- "circle-stroke-width": 3,
1561
- "circle-stroke-color": "#162e51",
1562
- "circle-opacity": 1
1563
- }
1564
- },
1565
-
1566
- {
1567
- "id": "poi-destination-labels",
1568
- "type": "symbol",
1569
- "source": "poi-data",
1570
- "filter": [
1571
- "all",
1572
- ["==", ["get", "poiType"], "destination"],
1573
- ["==", ["get", "showLabel"], true]
1574
- ],
1575
- "minzoom": 16.5,
1576
- "layout": {
1577
- "symbol-sort-key": 0,
1578
- "text-field": ["get", "name"],
1579
- "text-size": [
1580
- "interpolate", ["linear"], ["zoom"],
1581
- 16.5, 18,
1582
- 18, 20,
1583
- 20, 23
1584
- ],
1585
- "text-variable-anchor-offset": ["top", [0, 0.9], "right", [-0.9, 0], "bottom", [0, -0.9], "left", [0.9, 0]],
1586
- "text-variable-anchor": ["top", "right" , "bottom", "left"],
1587
- "text-font": ["Noto Sans Bold"],
1588
- "text-max-width": 12,
1589
- "text-allow-overlap": false,
1590
- "text-padding": 4,
1591
- "text-rotation-alignment": "viewport"
1592
- },
1593
- "paint": {
1594
- "text-color": "#242930",
1595
- "text-halo-color": "#FFFFFF",
1596
- "text-halo-width": 2,
1597
- "text-halo-blur": 0
1598
- }
1599
- },
1600
1582
  {
1601
1583
  "id": "map-labels",
1602
1584
  "type": "symbol",
@@ -1605,37 +1587,35 @@
1605
1587
  "filter": ["!", ["in", "Building", ["get", "name"]]],
1606
1588
  "layout": {
1607
1589
  "symbol-sort-key": 10,
1608
- "icon-image": "map-label-bg",
1609
- "icon-text-fit": "both",
1610
- "icon-text-fit-padding": [2, 2, 2, 2],
1611
- "icon-allow-overlap": false,
1612
- "icon-ignore-placement": false,
1613
1590
  "text-field": ["get", "name"],
1614
1591
  "text-size": [
1615
1592
  "interpolate", ["linear"], ["zoom"],
1616
- 15.5, 13,
1617
- 16.5, 16,
1618
- 18, 19,
1619
- 20, 22
1593
+ 15.5, 12,
1594
+ 16.5, 15,
1595
+ 18, 18,
1596
+ 20, 20
1620
1597
  ],
1621
1598
  "text-font": ["Noto Sans Bold"],
1622
1599
  "text-letter-spacing": 0.04,
1623
1600
  "text-max-width": 10,
1624
1601
  "text-anchor": "center",
1625
-
1602
+ "text-rotate": ["get", "rotation"],
1626
1603
  "text-rotation-alignment": "viewport",
1627
1604
  "text-allow-overlap": false,
1628
1605
  "text-padding": 4
1629
1606
  },
1630
1607
  "paint": {
1631
- "text-color": "#ffffff"
1608
+ "text-color": "#3d4551",
1609
+ "text-halo-color": "#FFFFFF",
1610
+ "text-halo-width": 1.4,
1611
+ "text-halo-blur": 0.5
1632
1612
  }
1633
- },
1613
+ },
1634
1614
  {
1635
1615
  "id": "map-labels-buildings",
1636
1616
  "type": "symbol",
1637
1617
  "source": "map-labels-data",
1638
- "minzoom": 15.5,
1618
+ "minzoom": 17,
1639
1619
  "filter": [
1640
1620
  "all",
1641
1621
  ["in", "Building", ["get", "name"]]
@@ -1651,7 +1631,7 @@
1651
1631
  "format",
1652
1632
  "\uea40", {"text-font": ["literal", ["Material Icons"]]},
1653
1633
 
1654
- ["slice", ["get", "name"], 8, 10], {}
1634
+ ["slice", ["get", "name"], ["+", ["index-of", "Building", ["get", "name"]], 9]], {}
1655
1635
  ],
1656
1636
  "text-size": [
1657
1637
  "interpolate", ["linear"], ["zoom"],
@@ -1670,7 +1650,7 @@
1670
1650
  "text-padding": 4
1671
1651
  },
1672
1652
  "paint": {
1673
- "text-color": "#ffffff"
1653
+ "text-color": "#fffffe"
1674
1654
  }
1675
1655
  },
1676
1656
 
@@ -1685,19 +1665,62 @@
1685
1665
  "icon-image": ["get", "iconId"],
1686
1666
  "icon-size": [
1687
1667
  "interpolate", ["exponential", 1.3], ["zoom"],
1688
- 14, 0.28,
1689
- 16, 0.4,
1690
- 18, 0.58,
1691
- 20, 0.85,
1692
- 22, 1.2
1668
+ 14, 0.18,
1669
+ 16, 0.3,
1670
+ 18, 0.48,
1671
+ 20, 0.5,
1672
+ 22, 0.85
1693
1673
  ],
1694
- "icon-allow-overlap": false,
1695
- "icon-padding": [
1674
+
1675
+ "icon-optional": false,
1676
+ "icon-rotation-alignment": "viewport",
1677
+ "icon-pitch-alignment": "viewport",
1678
+ "icon-allow-overlap":true,
1679
+ "text-field": ["get", "name"],
1680
+ "text-size": [
1696
1681
  "interpolate", ["linear"], ["zoom"],
1697
- 15, 8,
1698
- 17, 4,
1699
- 19, 2
1682
+ 16, ["case", ["!=", ["coalesce", ["get", "iconId"], ""], ""], 0, 17],
1683
+ 19, ["case", ["!=", ["coalesce", ["get", "iconId"], ""], ""], 0, 19],
1684
+ 20, ["case", ["!=", ["coalesce", ["get", "iconId"], ""], ""], 0, 22]
1700
1685
  ],
1686
+
1687
+ "text-anchor": "top",
1688
+ "text-optional": true,
1689
+ "text-padding": 2,
1690
+ "text-font": ["Noto Sans Bold"],
1691
+ "text-rotation-alignment": "viewport"
1692
+ },
1693
+ "paint": {
1694
+ "icon-halo-color": "#FFFFFF",
1695
+ "icon-halo-width": 1.5,
1696
+ "icon-halo-blur": 0.5,
1697
+ "text-color": "#242930",
1698
+ "text-halo-color": "#FFFFFF",
1699
+ "text-halo-width": 1.5,
1700
+ "text-halo-blur": 1,
1701
+ "icon-translate": [0, -20],
1702
+ "icon-translate-anchor": "viewport"
1703
+ }
1704
+ },
1705
+ {
1706
+ "id": "poi-parking-icons",
1707
+ "type": "symbol",
1708
+ "source": "poi-data",
1709
+ "filter": ["==", ["get", "amenityCategory"], "parking"],
1710
+ "minzoom": 14,
1711
+ "layout": {
1712
+ "symbol-sort-key": ["get", "rank"],
1713
+ "icon-image": ["get", "iconId"],
1714
+ "icon-size": [
1715
+ "interpolate", ["exponential", 1.3], ["zoom"],
1716
+ 14, 0.18,
1717
+ 16, 0.3,
1718
+ 18, 0.48,
1719
+ 20, 0.5,
1720
+ 22, 0.85
1721
+ ],
1722
+ "icon-allow-overlap": true,
1723
+
1701
1724
  "icon-optional": false,
1702
1725
  "icon-rotation-alignment": "viewport",
1703
1726
  "icon-pitch-alignment": "viewport",
@@ -1729,21 +1752,21 @@
1729
1752
  }
1730
1753
  },
1731
1754
  {
1732
- "id": "poi-parking-icons",
1755
+ "id": "poi-bus-icons",
1733
1756
  "type": "symbol",
1734
1757
  "source": "poi-data",
1735
- "filter": ["==", ["get", "amenityCategory"], "parking"],
1758
+ "filter": ["==", ["get", "amenityCategory"], "bus"],
1736
1759
  "minzoom": 14,
1737
1760
  "layout": {
1738
1761
  "symbol-sort-key": ["get", "rank"],
1739
1762
  "icon-image": ["get", "iconId"],
1740
1763
  "icon-size": [
1741
1764
  "interpolate", ["exponential", 1.3], ["zoom"],
1742
- 14, 0.28,
1743
- 16, 0.4,
1744
- 18, 0.58,
1745
- 20, 0.85,
1746
- 22, 1.2
1765
+ 14, 0.18,
1766
+ 16, 0.3,
1767
+ 18, 0.48,
1768
+ 20, 0.5,
1769
+ 22, 0.85
1747
1770
  ],
1748
1771
  "icon-allow-overlap": false,
1749
1772
  "icon-padding": [
@@ -1783,21 +1806,21 @@
1783
1806
  }
1784
1807
  },
1785
1808
  {
1786
- "id": "poi-bus-icons",
1809
+ "id": "poi-connector-icons",
1787
1810
  "type": "symbol",
1788
1811
  "source": "poi-data",
1789
- "filter": ["==", ["get", "amenityCategory"], "bus"],
1790
- "minzoom": 14,
1812
+ "filter": ["==", ["get", "amenityCategory"], "connector"],
1813
+ "minzoom": 16.5,
1791
1814
  "layout": {
1792
1815
  "symbol-sort-key": ["get", "rank"],
1793
1816
  "icon-image": ["get", "iconId"],
1794
1817
  "icon-size": [
1795
1818
  "interpolate", ["exponential", 1.3], ["zoom"],
1796
- 14, 0.28,
1797
- 16, 0.4,
1798
- 18, 0.58,
1799
- 20, 0.85,
1800
- 22, 1.2
1819
+ 14, 0.18,
1820
+ 16, 0.3,
1821
+ 18, 0.48,
1822
+ 20, 0.5,
1823
+ 22, 0.85
1801
1824
  ],
1802
1825
  "icon-allow-overlap": false,
1803
1826
  "icon-padding": [
@@ -1837,21 +1860,21 @@
1837
1860
  }
1838
1861
  },
1839
1862
  {
1840
- "id": "poi-connector-icons",
1863
+ "id": "poi-information-icons",
1841
1864
  "type": "symbol",
1842
1865
  "source": "poi-data",
1843
- "filter": ["==", ["get", "amenityCategory"], "connector"],
1866
+ "filter": ["==", ["get", "amenityCategory"], "information"],
1844
1867
  "minzoom": 16.5,
1845
1868
  "layout": {
1846
1869
  "symbol-sort-key": ["get", "rank"],
1847
1870
  "icon-image": ["get", "iconId"],
1848
1871
  "icon-size": [
1849
1872
  "interpolate", ["exponential", 1.3], ["zoom"],
1850
- 14, 0.28,
1851
- 16, 0.4,
1852
- 18, 0.58,
1853
- 20, 0.85,
1854
- 22, 1.2
1873
+ 14, 0.18,
1874
+ 16, 0.3,
1875
+ 18, 0.48,
1876
+ 20, 0.5,
1877
+ 22, 0.85
1855
1878
  ],
1856
1879
  "icon-allow-overlap": false,
1857
1880
  "icon-padding": [
@@ -1905,11 +1928,11 @@
1905
1928
  "icon-image": ["get", "iconId"],
1906
1929
  "icon-size": [
1907
1930
  "interpolate", ["exponential", 1.3], ["zoom"],
1908
- 14, 0.28,
1909
- 16, 0.4,
1910
- 18, 0.58,
1911
- 20, 0.85,
1912
- 22, 1.2
1931
+ 14, 0.18,
1932
+ 16, 0.3,
1933
+ 18, 0.48,
1934
+ 20, 0.5,
1935
+ 22, 0.85
1913
1936
  ],
1914
1937
  "icon-allow-overlap": false,
1915
1938
  "icon-padding": [
@@ -1948,6 +1971,148 @@
1948
1971
  "icon-translate-anchor": "viewport"
1949
1972
  }
1950
1973
  },
1974
+ {
1975
+ "id": "poi-restroom-group-icons",
1976
+ "type": "symbol",
1977
+ "source": "restroom-group-data",
1978
+ "minzoom": 16.5,
1979
+ "layout": {
1980
+ "symbol-sort-key": 0,
1981
+ "icon-image": "material-wc",
1982
+ "icon-size": [
1983
+ "interpolate", ["exponential", 1.3], ["zoom"],
1984
+ 14, 0.18,
1985
+ 16, 0.3,
1986
+ 18, 0.48,
1987
+ 20, 0.5,
1988
+ 22, 0.85
1989
+ ],
1990
+ "icon-allow-overlap": false,
1991
+ "icon-padding": [
1992
+ "interpolate", ["linear"], ["zoom"],
1993
+ 15, 8,
1994
+ 17, 4,
1995
+ 19, 2
1996
+ ],
1997
+ "icon-optional": false,
1998
+ "icon-rotation-alignment": "viewport",
1999
+ "icon-pitch-alignment": "viewport"
2000
+ },
2001
+ "paint": {
2002
+ "icon-halo-color": "#FFFFFF",
2003
+ "icon-halo-width": 1.5,
2004
+ "icon-halo-blur": 0.5,
2005
+ "icon-translate": [0, -20],
2006
+ "icon-translate-anchor": "viewport"
2007
+ }
2008
+ },
2009
+ {
2010
+ "id": "poi-amenity-instance-labels",
2011
+ "type": "symbol",
2012
+ "source": "poi-data",
2013
+ "filter": ["all", ["==", ["get", "poiType"], "amenity"], ["has", "instanceName"]],
2014
+
2015
+ "layout": {
2016
+ "symbol-sort-key": ["get", "rank"],
2017
+ "text-field": ["get", "instanceName"],
2018
+ "text-size": [
2019
+ "interpolate", ["linear"], ["zoom"],
2020
+ 16, 14,
2021
+ 19, 15,
2022
+ 22, 17
2023
+ ],
2024
+ "text-offset": [
2025
+ "interpolate", ["linear"], ["zoom"],
2026
+ 16, ["literal", [0, 0.25]],
2027
+ 17, ["literal", [0, 0.15]],
2028
+ 19, ["literal", [0, 0.25]],
2029
+ 20, ["literal", [0, 0.45]],
2030
+ 22, ["literal", [0, 0.85]]
2031
+ ],
2032
+ "text-anchor": "top",
2033
+ "text-optional": true,
2034
+ "text-padding": 4,
2035
+ "text-font": ["Noto Sans Bold"],
2036
+ "text-rotation-alignment": "viewport"
2037
+ },
2038
+ "paint": {
2039
+ "text-color": "#0F1114",
2040
+ "text-halo-color": "#FFFFFF",
2041
+ "text-halo-width": 1.5,
2042
+ "text-halo-blur": 0.1
2043
+ }
2044
+ },
2045
+ {
2046
+ "id": "poi-destination-labels",
2047
+ "type": "symbol",
2048
+ "source": "poi-data",
2049
+ "filter": [
2050
+ "all",
2051
+ ["==", ["get", "poiType"], "destination"],
2052
+ ["==", ["get", "showLabel"], true]
2053
+ ],
2054
+ "layout": {
2055
+ "symbol-sort-key": 0,
2056
+ "icon-image": "destination-dot",
2057
+ "icon-size": [
2058
+ "interpolate", ["linear"], ["zoom"],
2059
+ 14, 0.1,
2060
+ 16, 0.8,
2061
+ 17.30, 0.8,
2062
+ 18, 0.5,
2063
+ 20, 0.8
2064
+ ],
2065
+ "icon-overlap": "cooperative",
2066
+ "icon-ignore-placement": false,
2067
+ "icon-padding": 0,
2068
+ "icon-optional": false,
2069
+ "icon-rotation-alignment": "viewport",
2070
+ "icon-pitch-alignment": "viewport",
2071
+ "text-field": ["get", "name"],
2072
+ "text-size": 16,
2073
+ "text-variable-anchor-offset": ["top", [0, 0.5], "right", [-0.5, 0], "bottom", [0, -0.5], "left", [0.5, 0]],
2074
+ "text-variable-anchor": ["top", "right" , "bottom", "left"],
2075
+ "text-font": ["Noto Sans Bold"],
2076
+ "text-max-width": 12,
2077
+ "text-overlap": "never",
2078
+ "text-padding": 4,
2079
+ "text-optional": true,
2080
+ "text-rotation-alignment": "viewport"
2081
+ },
2082
+ "paint": {
2083
+ "text-color": "#F2F2F2",
2084
+ "text-halo-color": "#242930",
2085
+ "text-halo-width": 2,
2086
+ "text-halo-blur": 0
2087
+ }
2088
+ },
2089
+ {
2090
+ "id": "poi-destination-circles",
2091
+ "type": "symbol",
2092
+ "source": "poi-data",
2093
+ "filter": [
2094
+ "all",
2095
+ ["==", ["get", "poiType"], "destination"],
2096
+ ["!=", ["get", "showLabel"], true]
2097
+ ],
2098
+ "minzoom": 16.5,
2099
+ "layout": {
2100
+ "icon-image": "destination-dot",
2101
+ "icon-size": [
2102
+ "interpolate", ["linear"], ["zoom"],
2103
+ 14, 0.1,
2104
+ 16, 0.8,
2105
+ 17.30, 0.8,
2106
+ 18, 0.5,
2107
+ 20, 0.8
2108
+ ],
2109
+ "icon-overlap": "cooperative",
2110
+ "icon-ignore-placement": false,
2111
+ "icon-padding": 0,
2112
+ "icon-rotation-alignment": "viewport",
2113
+ "icon-pitch-alignment": "viewport"
2114
+ }
2115
+ },
1951
2116
  {
1952
2117
  "id": "poi-you-are-here-heading",
1953
2118
  "type": "symbol",
@@ -1962,18 +2127,18 @@
1962
2127
  "text-field": "▲",
1963
2128
  "text-size": [
1964
2129
  "interpolate", ["linear"], ["zoom"],
1965
- 16, 28,
1966
- 18, 34,
1967
- 20, 42
2130
+ 16, 20,
2131
+ 18, 22,
2132
+ 20, 28
1968
2133
  ],
1969
2134
  "text-font": ["Noto Sans Bold"],
1970
- "text-anchor": "bottom",
1971
- "text-offset": [0, -0.45],
2135
+ "text-anchor": "bottom",
1972
2136
  "text-rotate": ["-", ["get", "heading"], 180],
1973
2137
  "text-rotation-alignment": "map",
1974
2138
  "text-pitch-alignment": "map",
1975
- "text-allow-overlap": true,
1976
- "text-ignore-placement": true
2139
+ "text-overlap": "always",
2140
+ "text-ignore-placement": false,
2141
+ "text-padding": 4
1977
2142
  },
1978
2143
  "paint": {
1979
2144
  "text-color": "#E31C3D",
@@ -2009,32 +2174,48 @@
2009
2174
  "layout": {
2010
2175
  "icon-image": "YouAreHereKiosk",
2011
2176
  "icon-anchor": "bottom",
2012
- "icon-offset": [0, 0],
2013
- "icon-allow-overlap": true,
2014
- "icon-ignore-placement": true,
2177
+ "icon-offset": [
2178
+ "interpolate", ["linear"], ["zoom"],
2179
+ 16, ["literal", [0, 20]],
2180
+ 18, ["literal", [0, 0]]
2181
+ ],
2015
2182
  "icon-size": [
2016
2183
  "interpolate", ["linear"], ["zoom"],
2017
- 16, 2,
2018
- 18, 1,
2019
- 20, 1
2184
+ 16, 0.9,
2185
+ 18, 0.8
2186
+ ],
2187
+ "icon-overlap": "never",
2188
+ "icon-ignore-placement": false,
2189
+ "icon-padding": [
2190
+ "interpolate", ["linear"], ["zoom"],
2191
+ 16, 12,
2192
+ 18, 14,
2193
+ 20, 18
2020
2194
  ],
2021
2195
  "text-field": ["get", "name"],
2022
2196
  "text-size": [
2023
2197
  "interpolate", ["linear"], ["zoom"],
2024
- 16, 20,
2025
- 18, 19,
2026
- 20, 22
2198
+ 16, 16,
2199
+ 18, 16,
2200
+ 20, 18
2027
2201
  ],
2028
2202
  "text-offset": [
2029
2203
  "interpolate", ["linear"], ["zoom"],
2030
- 16, ["literal", [0, -4]],
2204
+ 16, ["literal", [0, -1.5]],
2031
2205
  18, ["literal", [0, -2.5]]
2032
2206
  ],
2033
2207
  "text-anchor": "bottom",
2034
2208
  "text-font": ["Noto Sans Bold"],
2035
- "text-allow-overlap": true,
2036
- "text-ignore-placement": true,
2037
- "text-optional": false
2209
+ "text-overlap": "never",
2210
+ "text-ignore-placement": false,
2211
+ "text-padding": [
2212
+ "interpolate", ["linear"], ["zoom"],
2213
+ 16, 8,
2214
+ 18, 10,
2215
+ 20, 12
2216
+ ],
2217
+ "text-optional": false,
2218
+ "text-transform": "uppercase"
2038
2219
  },
2039
2220
  "paint": {
2040
2221
  "text-color": "#E31C3D",