VirtualTourNode: {
    caption?: string;
    data?: any;
    description?: string;
    gps?: GpsPosition;
    id: string;
    links?: VirtualTourLink[];
    map?: Partial<Point> & Omit<MapHotspot, "id" | "yaw" | "distance">;
    markers?: (MarkerConfig & { gps?: GpsPosition })[];
    name?: string;
    panoData?: PanoData | PanoDataProvider;
    panorama: any;
    plan?: Omit<PlanHotspot, "id" | "coordinates">;
    sphereCorrection?: SphereCorrection;
    thumbnail?: string;
}

Definition of a single node in the tour

Type declaration

  • Optionalcaption?: string

    caption visible in the navbar

  • Optionaldata?: any

    Any custom data you want to attach to the node

  • Optionaldescription?: string

    description visible in the side panel

  • Optionalgps?: GpsPosition

    GPS position

  • id: string
  • Optionallinks?: VirtualTourLink[]

    links to other nodes

  • Optionalmap?: Partial<Point> & Omit<MapHotspot, "id" | "yaw" | "distance">

    configuration of the hotspot when using the MapPlugin

  • Optionalmarkers?: (MarkerConfig & { gps?: GpsPosition })[]

    additional markers to use on this node

  • Optionalname?: string

    short name of the node (links tooltip, gallery)

  • OptionalpanoData?: PanoData | PanoDataProvider

    data used for this panorama

  • panorama: any
  • Optionalplan?: Omit<PlanHotspot, "id" | "coordinates">

    configuration of the hotspot when using the PlanPlugin

  • OptionalsphereCorrection?: SphereCorrection

    sphere correction to apply to this panorama

  • Optionalthumbnail?: string

    thumbnail for the gallery