Photo Sphere Viewer
    Preparing search index...

    Type Alias AutorotatePluginConfig

    type AutorotatePluginConfig = {
        autorotatePitch?: number | string;
        autorotateSpeed?: string | number;
        autorotateZoomLvl?: number;
        autostartDelay?: number;
        autostartOnIdle?: boolean;
        keypoints?: AutorotateKeypoint[];
        startFromClosest?: boolean;
    }
    Index

    Properties

    autorotatePitch?: number | string

    Vertical angle at which the automatic rotation is performed.

    viewer defaultPitch

    autorotateSpeed?: string | number

    Speed of the automatic rotation. Can be a negative value to reverse the rotation.

    '2rpm'
    
    autorotateZoomLvl?: number

    Zoom level at which the automatic rotation is performed.

    current zoom level
    
    autostartDelay?: number

    Delay after which the automatic rotation will begin, in milliseconds

    2000
    
    autostartOnIdle?: boolean

    Restarts the automatic rotation if the user is idle for autostartDelay.

    true
    
    keypoints?: AutorotateKeypoint[]

    List of positions to visit

    startFromClosest?: boolean

    Start from the closest keypoint instead of the first keypoint

    true