@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/react.d.ts
CHANGED
|
@@ -154,6 +154,20 @@ interface SDKOptions {
|
|
|
154
154
|
* controls the automatic highlight on `routeReady`.
|
|
155
155
|
*/
|
|
156
156
|
routeStepHighlight?: boolean;
|
|
157
|
+
/**
|
|
158
|
+
* Which way is up while a route is on screen. Defaults to `'kiosk'`.
|
|
159
|
+
*
|
|
160
|
+
* - `'kiosk'` — the kiosk's heading rotated 180°, so the map matches the
|
|
161
|
+
* direction a visitor walks away from the screen (180°, south-up, when
|
|
162
|
+
* the venue has no kiosk heading).
|
|
163
|
+
* - `'first-step'` — the direction of the route's first step: the tapped
|
|
164
|
+
* start's approach when there is one, otherwise the first stretch of
|
|
165
|
+
* the path. For UIs viewed away from any kiosk (a phone, a home
|
|
166
|
+
* computer), where the kiosk's facing means nothing. Taken once per
|
|
167
|
+
* route, so stepping through it or toggling the full route keeps that
|
|
168
|
+
* orientation.
|
|
169
|
+
*/
|
|
170
|
+
routeBearing?: 'kiosk' | 'first-step';
|
|
157
171
|
/**
|
|
158
172
|
* Whether restroom pins that are too close together to draw individually
|
|
159
173
|
* collapse into a single Material `wc` badge. Defaults to `true`.
|