Type Alias PanoramaOptions

PanoramaOptions: {
    caption?: string;
    description?: string;
    panoData?: PanoData | PanoDataProvider;
    position?: ExtendedPosition;
    showLoader?: boolean;
    speed?: string | number;
    sphereCorrection?: SphereCorrection;
    transition?: boolean | "fade-only";
    zoom?: number;
}

Object defining options for Viewer.setPanorama

Type declaration

  • Optionalcaption?: string

    new navbar caption

  • Optionaldescription?: string

    new panorama description

  • OptionalpanoData?: PanoData | PanoDataProvider

    new data used for this panorama

  • Optionalposition?: ExtendedPosition

    new panorama position

  • OptionalshowLoader?: boolean

    show the loader while loading the new panorama

    true
    
  • Optionalspeed?: string | number

    speed or duration of the transition between old and new panorama

    1500
    
  • OptionalsphereCorrection?: SphereCorrection

    new sphere correction to apply to the panorama

  • Optionaltransition?: boolean | "fade-only"

    enable transition (rotation + fading) between old and new panorama

    true
    
  • Optionalzoom?: number

    new zoom level between 0 and 100