@maplayr/react-native
    Preparing search index...

    Type Alias MoveCameraOptions

    Options for controlling the map camera position

    type MoveCameraOptions = {
        animated?: boolean;
        heading?: number;
        insets?: number;
        location?: Coordinate | Iterable<Coordinate>;
        route?: Route | null;
        span?: number;
        tilt?: number;
    }
    Index

    Properties

    animated?: boolean

    Whether to animate the transition to the new camera position. Defaults to false

    heading?: number

    The orientation in degrees relative to true north (0° = north, 90° = east, 180° = south, 270° = west)

    insets?: number

    Additional space in points around the frame after span calculations

    location?: Coordinate | Iterable<Coordinate>

    The coordinates to center on. Can be a single location or an array of locations to fit in view

    route?: Route | null

    A route object to fit in the camera view

    span?: number

    The distance in meters shown from top to bottom or left to right of the screen (whichever is smaller)

    tilt?: number

    The camera's tilt angle in degrees