@minmaps-dev/mm-web-sdk 1.0.0-rc.45 → 1.0.0-rc.47

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.45",
3
+ "version": "1.0.0-rc.47",
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",
@@ -144,6 +144,7 @@
144
144
  "type": "fill",
145
145
  "source": "protomaps",
146
146
  "source-layer": "water",
147
+ "filter": ["in", ["geometry-type"], ["literal", ["Polygon", "MultiPolygon"]]],
147
148
  "paint": {
148
149
  "fill-color": "#c2dbf2"
149
150
  }
@@ -1479,12 +1480,13 @@
1479
1480
  18, 16,
1480
1481
  20, 18
1481
1482
  ],
1483
+ "text-variable-anchor": ["bottom", "left", "right", "top"],
1484
+ "text-variable-anchor-offset": ["bottom", [0, -1.1], "left", [1.1, 0], "right", [-1.1, 0], "top", [0, 1.1]],
1482
1485
  "text-optional": false,
1483
1486
  "text-font": ["Noto Sans Bold"],
1484
1487
  "text-letter-spacing": 0.04,
1485
1488
  "text-max-width": 8,
1486
- "text-anchor": "top",
1487
- "text-offset": [0, 1.1],
1489
+
1488
1490
  "text-rotation-alignment": "viewport",
1489
1491
  "text-allow-overlap": true,
1490
1492
  "text-padding": 4