@minmaps-dev/mm-web-sdk 1.0.0-rc.41 → 1.0.0-rc.42

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.41",
3
+ "version": "1.0.0-rc.42",
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",
@@ -1465,16 +1465,17 @@
1465
1465
  "layout": {
1466
1466
  "symbol-sort-key": 10,
1467
1467
  "icon-image": "map-label-bg",
1468
- "icon-text-fit": "both",
1469
- "icon-text-fit-padding": [2, 2, 2, 2],
1468
+ "icon-text-fit": "width",
1469
+ "icon-text-fit-padding": [0, 4, 0, 4],
1470
+ "icon-size": [
1471
+ "interpolate", ["linear"], ["zoom"],
1472
+ 15.5, 0.8,
1473
+ 18, 1,
1474
+ 20, 1.15
1475
+ ],
1470
1476
  "icon-allow-overlap": false,
1471
1477
  "icon-ignore-placement": false,
1472
- "text-field": [
1473
- "format",
1474
- "\uea40", {"text-font": ["literal", ["Material Icons"]]},
1475
-
1476
- ["slice", ["get", "name"], ["+", ["index-of", "Building", ["get", "name"]], 9]], {}
1477
- ],
1478
+ "text-field": ["slice", ["get", "name"], ["+", ["index-of", "Building", ["get", "name"]], 9]],
1478
1479
  "text-size": [
1479
1480
  "interpolate", ["linear"], ["zoom"],
1480
1481
  15.5, 14,