Type Alias PanoramaOptions

PanoramaOptions: {
    caption?: string;
    description?: string;
    panoData?: PanoData | PanoDataProvider;
    position?: ExtendedPosition;
    showLoader?: boolean;
    speed?: string | number;
    sphereCorrection?: SphereCorrection;
    transition?: boolean | "fade-only" | TransitionOptions;
    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

    Use transition.speed

  • OptionalsphereCorrection?: SphereCorrection

    new sphere correction to apply to the panorama

  • Optionaltransition?: boolean | "fade-only" | TransitionOptions

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

    true
    
  • Optionalzoom?: number

    new zoom level between 0 and 100