@minmaps-dev/mm-web-sdk 1.0.0-rc.43 → 1.0.0-rc.44

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.43",
3
+ "version": "1.0.0-rc.44",
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",
@@ -1463,37 +1463,37 @@
1463
1463
  ["in", "Building", ["get", "name"]]
1464
1464
  ],
1465
1465
  "layout": {
1466
- "symbol-sort-key": 10,
1467
- "icon-image": "map-label-bg",
1468
- "icon-text-fit": "width",
1469
- "icon-text-fit-padding": [0, 4, 0, 4],
1466
+ "symbol-sort-key": 0,
1467
+ "icon-image": "label-building",
1470
1468
  "icon-size": [
1471
1469
  "interpolate", ["linear"], ["zoom"],
1472
- 15.5, 0.8,
1473
- 18, 1,
1474
- 20, 1.15
1470
+ 15.5, 0.5,
1471
+ 18, 0.7,
1472
+ 20, 1
1475
1473
  ],
1476
- "icon-allow-overlap": false,
1474
+ "icon-allow-overlap": true,
1477
1475
  "icon-ignore-placement": false,
1478
- "text-field": ["slice", ["get", "name"], ["+", ["index-of", "Building", ["get", "name"]], 9]],
1476
+ "text-field": ["get", "name"],
1479
1477
  "text-size": [
1480
1478
  "interpolate", ["linear"], ["zoom"],
1481
- 15.5, 14,
1482
- 16.5, 16,
1483
- 18, 18,
1484
- 20, 20
1479
+ 18, 16,
1480
+ 20, 18
1485
1481
  ],
1482
+ "text-optional": false,
1486
1483
  "text-font": ["Noto Sans Bold"],
1487
1484
  "text-letter-spacing": 0.04,
1488
- "text-max-width": 10,
1489
- "text-anchor": "center",
1490
-
1485
+ "text-max-width": 8,
1486
+ "text-anchor": "top",
1487
+ "text-offset": [0, 1.1],
1491
1488
  "text-rotation-alignment": "viewport",
1492
- "text-allow-overlap": false,
1489
+ "text-allow-overlap": true,
1493
1490
  "text-padding": 4
1494
1491
  },
1495
1492
  "paint": {
1496
- "text-color": "#fffffe"
1493
+ "text-color": "#162e51",
1494
+ "text-halo-color": "#fffffe",
1495
+ "text-halo-width": 1.4,
1496
+ "text-halo-blur": 0.5
1497
1497
  }
1498
1498
  },
1499
1499
 
@@ -2263,6 +2263,21 @@
2263
2263
  "icon-translate-anchor": "viewport"
2264
2264
  }
2265
2265
  },
2266
+ {
2267
+ "id": "poi-route-start",
2268
+ "type": "symbol",
2269
+ "source": "route-end-data",
2270
+ "filter": ["==", ["get", "kind"], "start"],
2271
+ "layout": {
2272
+ "icon-image": "marker-start",
2273
+ "icon-anchor": "bottom",
2274
+ "icon-size": ["interpolate", ["linear"], ["zoom"], 15, 0.7, 16, 0.9, 18, 1, 20, 1.15, 22, 1.35],
2275
+ "icon-overlap": "always",
2276
+ "icon-ignore-placement": false,
2277
+ "icon-rotation-alignment": "viewport",
2278
+ "icon-pitch-alignment": "viewport"
2279
+ }
2280
+ },
2266
2281
  {
2267
2282
  "id": "poi-route-end-flag",
2268
2283
  "type": "symbol",