@minmaps-dev/mm-web-sdk 1.0.0-rc.50 → 1.0.0-rc.52
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/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +14 -0
- 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 +14 -0
- package/dist/react.js +1 -1
- package/dist/react.js.map +1 -1
- package/package.json +2 -2
- package/src/themes/alt3-hybrid-style.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -510,6 +510,20 @@ interface SDKOptions {
|
|
|
510
510
|
* controls the automatic highlight on `routeReady`.
|
|
511
511
|
*/
|
|
512
512
|
routeStepHighlight?: boolean;
|
|
513
|
+
/**
|
|
514
|
+
* Which way is up while a route is on screen. Defaults to `'kiosk'`.
|
|
515
|
+
*
|
|
516
|
+
* - `'kiosk'` — the kiosk's heading rotated 180°, so the map matches the
|
|
517
|
+
* direction a visitor walks away from the screen (180°, south-up, when
|
|
518
|
+
* the venue has no kiosk heading).
|
|
519
|
+
* - `'first-step'` — the direction of the route's first step: the tapped
|
|
520
|
+
* start's approach when there is one, otherwise the first stretch of
|
|
521
|
+
* the path. For UIs viewed away from any kiosk (a phone, a home
|
|
522
|
+
* computer), where the kiosk's facing means nothing. Taken once per
|
|
523
|
+
* route, so stepping through it or toggling the full route keeps that
|
|
524
|
+
* orientation.
|
|
525
|
+
*/
|
|
526
|
+
routeBearing?: 'kiosk' | 'first-step';
|
|
513
527
|
/**
|
|
514
528
|
* Whether restroom pins that are too close together to draw individually
|
|
515
529
|
* collapse into a single Material `wc` badge. Defaults to `true`.
|