@minmaps-dev/mm-web-sdk 1.0.0-rc.33 → 1.0.0-rc.35
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/README.md +4 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +875 -65
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/react.cjs +1 -1
- package/dist/react.cjs.map +1 -1
- package/dist/react.d.ts +59 -14
- package/dist/react.js +1 -1
- package/dist/react.js.map +1 -1
- package/package.json +3 -2
- package/src/themes/alt3-hybrid-style.json +922 -364
package/README.md
CHANGED
|
@@ -43,6 +43,9 @@ This SDK is on a pre-1.0 release candidate (`1.0.0-rc.24`). A few capabilities r
|
|
|
43
43
|
| Camera + view modes (3D/2D/flat) | ✅ Shipped | Style toggles work against the bundled `alt3-hybrid-style.json`. |
|
|
44
44
|
| Wayfinding | ✅ Shipped | Built-in JACS path-graph routing (rc.18). `JacsWayfindingProvider` is wired by default; route computation runs inside the SDK (`src/data/wayfinding/`). No provider injection needed. |
|
|
45
45
|
| Contextual map APIs | ✅ Shipped | `highlightPOI`/`highlightAmenity`/`clearHighlight`, `setPOIFilter`/`clearPOIFilter`, `amenities.getDistinct`, `findClosestWaypoint`, `searchAllPOIs`, `navigateFromKioskToPOI`, `refit`. See `docs/API.md#contextual-map`. |
|
|
46
|
+
| Opening hours | ✅ Shipped | `getPOIDetails(poi).openHours` parses the CMS's `mm_open_hours` extensor; `getOpenStatus()` derives open/closed, "closing soon", and the next opening. See `docs/API.md#opening-hours`. |
|
|
47
|
+
| Destination detail fields | ✅ Shipped | `getPOIDetails(poi)` also surfaces `phone`, `imageAlt`, `buildingName` and `roomNumber` — the CMS's `mm_`-prefixed stand-in extensors, plus the real `unitNumber` column. See `docs/API.md#reserved-extensors`. |
|
|
48
|
+
| Restroom icon grouping | ✅ Shipped | Restroom pins too close together to draw individually collapse into one Material `wc` badge and expand back as the camera zooms in — fixing men's/women's pairs where MapLibre silently dropped one icon. Tapping the badge emits `poiSelected` with every restroom it stands for. Opt out with `options.groupRestroomIcons: false`. |
|
|
46
49
|
| Venue-served stylesheets | 🚧 Roadmap | SDK currently uses its bundled style; `loadAndPatchVenueStyle()` is bypassed. |
|
|
47
50
|
| Polygon layers + 3D map templates | 🚧 Roadmap | `buildPolygonLayers` / `applyMapTemplate3d` imports are commented in `src/sdk.ts`. |
|
|
48
51
|
|
|
@@ -68,7 +71,7 @@ The lean root README intentionally stops here. For depth, see:
|
|
|
68
71
|
- [`docs/ARCHITECTURE.md`](./docs/ARCHITECTURE.md) — module map, init flow, JACS data path, style patching, dormant 3D notes.
|
|
69
72
|
- [`docs/API.md`](./docs/API.md) — full public API surface grouped by lifecycle, floors, POIs, amenities, wayfinding, camera, events.
|
|
70
73
|
- [`docs/KIOSK.md`](./docs/KIOSK.md) — kiosk integration patterns (You-Are-Here, kiosk-to-destination wayfinding once enabled, view-mode UX, sprite hosting, idle reset).
|
|
71
|
-
- [`docs/ICONS.md`](./docs/ICONS.md) — the curated icon registry, how amenity/connector
|
|
74
|
+
- [`docs/ICONS.md`](./docs/ICONS.md) — the curated icon registry, how amenity/connector icons resolve and render, why destinations render none, the CMS upload flow, and the release coupling between the icon-set and SDK packages.
|
|
72
75
|
|
|
73
76
|
External integrators will usually only need the [API](./docs/API.md) and [Kiosk](./docs/KIOSK.md) docs. Internal MTS engineers should also read [Architecture](./docs/ARCHITECTURE.md) before touching `src/sdk.ts` or the JACS provider.
|
|
74
77
|
|