@minmaps-dev/mm-web-sdk 1.0.0-rc.31 → 1.0.0-rc.32

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@minmaps-dev/mm-web-sdk",
3
- "version": "1.0.0-rc.31",
3
+ "version": "1.0.0-rc.32",
4
4
  "description": "MinuteMaps indoor mapping SDK for MapLibre GL - render venues, floors, POIs, and wayfinding routes",
5
5
  "license": "MIT",
6
6
  "author": "MTS LLC",
@@ -322,6 +322,7 @@
322
322
  "filter": ["==", ["get", "featureType"], "Units"],
323
323
  "paint": {
324
324
  "fill-color": ["coalesce", ["get", "zoneColor"], "#f7f8fa"],
325
+ "fill-color-transition": { "duration": 350 },
325
326
  "fill-opacity": [
326
327
  "interpolate",
327
328
  ["linear"],
@@ -736,6 +737,7 @@
736
737
  "#e8ecf1"
737
738
  ]
738
739
  ],
740
+ "fill-extrusion-color-transition": { "duration": 350 },
739
741
  "fill-extrusion-height": [
740
742
  "interpolate",
741
743
  ["linear"],
@@ -748,6 +750,46 @@
748
750
  "fill-extrusion-opacity": 1
749
751
  }
750
752
  },
753
+ {
754
+ "id": "unit-highlight-block",
755
+ "type": "fill-extrusion",
756
+ "source": "poi-highlight-data",
757
+ "minzoom": 16.5,
758
+ "filter": ["==", ["geometry-type"], "Polygon"],
759
+ "paint": {
760
+ "fill-extrusion-color": [
761
+ "coalesce",
762
+ ["get", "zoneColor"],
763
+ [
764
+ "match",
765
+ ["get", "category"],
766
+ "healthcare", "#73b3e7",
767
+ "surgical", "#73b3e7",
768
+ "waiting", "#73b3e7",
769
+ "diagnostic", "#97d4ea",
770
+ "amenities", "#97d4ea",
771
+ "emergency", "#f2938c",
772
+ "retail", "#fee685",
773
+ "fnb", "#fee685",
774
+ "admin", "#dfe1e2",
775
+ "staff", "#dfe1e2",
776
+ "security", "#dfe1e2",
777
+ "#005ea2"
778
+ ]
779
+ ],
780
+ "fill-extrusion-color-transition": { "duration": 350 },
781
+ "fill-extrusion-height": [
782
+ "interpolate",
783
+ ["linear"],
784
+ ["zoom"],
785
+ 16.5, 0,
786
+ 18, 2.6
787
+ ],
788
+ "fill-extrusion-base": 0,
789
+ "fill-extrusion-vertical-gradient": true,
790
+ "fill-extrusion-opacity": 1
791
+ }
792
+ },
751
793
 
752
794
  {
753
795
  "id": "units-wall-extrusion",
@@ -1565,6 +1607,7 @@
1565
1607
  "id": "poi-highlight-ring",
1566
1608
  "type": "circle",
1567
1609
  "source": "poi-highlight-data",
1610
+ "filter": ["==", ["geometry-type"], "Point"],
1568
1611
  "paint": {
1569
1612
  "circle-radius": 14,
1570
1613
  "circle-color": "#005ea2",
@@ -1576,6 +1619,7 @@
1576
1619
  "id": "poi-highlight-core",
1577
1620
  "type": "circle",
1578
1621
  "source": "poi-highlight-data",
1622
+ "filter": ["==", ["geometry-type"], "Point"],
1579
1623
  "paint": {
1580
1624
  "circle-radius": 9,
1581
1625
  "circle-color": "#005ea2",