@minmaps-dev/mm-web-sdk 1.0.0-rc.47 → 1.0.0-rc.48
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 +237 -22
- 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 +10 -0
- package/dist/react.js +1 -1
- package/dist/react.js.map +1 -1
- package/package.json +1 -1
- package/src/themes/alt3-hybrid-style.json +58 -0
package/dist/react.d.ts
CHANGED
|
@@ -235,6 +235,16 @@ interface SDKOptions {
|
|
|
235
235
|
* zoom.
|
|
236
236
|
*/
|
|
237
237
|
initialZoom?: number;
|
|
238
|
+
/**
|
|
239
|
+
* Zoom floor for selecting a place — a map tap or `selectPOI` (default
|
|
240
|
+
* `19.25`, one level into the Kiosk view). A selection made from further out
|
|
241
|
+
* zooms in to this; a closer zoom is kept. At the Kiosk view's edge (18.25)
|
|
242
|
+
* the selected dot and name are drawn but still lose collision to their
|
|
243
|
+
* neighbours, and in the Building view (a room tapped from 16.5 up) they
|
|
244
|
+
* aren't drawn at all — either way the visitor selects a place they can't
|
|
245
|
+
* see. `0` keeps the current zoom on every selection.
|
|
246
|
+
*/
|
|
247
|
+
selectionZoom?: number;
|
|
238
248
|
/**
|
|
239
249
|
* Clamp zoom-out relative to the opening view. When set, the map's
|
|
240
250
|
* `minZoom` becomes `(initialZoom − this)`, so visitors can nudge out by
|