Optional
cameraPanMode?: "default" | "elevation"Optional
changeFloorOnElevationChanges?: booleanWhether to change the floor on elevation changes.
Optional
distanceBetweenFloors?: number | "auto"The distance between floors in the stack in meters.
// Use automatic distance calculation
await mapView.StackedMaps.expand({ distanceBetweenFloors: 'auto' });
console.log(mapView.distanceBetweenFloors) // output: computed value
// Use fixed distance of 75 meters between floors
mapView.StackedMaps.expand({ distanceBetweenFloors: 75 });
console.log(mapView.distanceBetweenFloors) // output: 75 as specified
Optional
includedFloors?: Floor[]The floors to include in the stack.
The pan mode to use when animating the camera.