Options used to zoom to a given geometry.

interface ZoomOptions {
    rotation?: number;
    scale?: number;
    zoom?: number;
}

Properties

rotation?: number

target rotation e.g. 180

scale?: number

target scale e.g. 5000

zoom?: number

target zoom level e.g. 5