@minmaps-dev/mm-web-sdk 1.0.0-rc.34 → 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 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