Photo Sphere Viewer
    Preparing search index...

    Type Alias EquirectangularTilesPanorama

    Configuration of a tiled panorama

    type EquirectangularTilesPanorama = {
        basePanoData?: PanoData | PanoDataProvider;
        baseUrl?: string;
        cols: number;
        rows: number;
        tileUrl: (col: number, row: number) => string | null;
        width: number;
    }
    Index

    Properties

    basePanoData?: PanoData | PanoDataProvider

    panoData configuration associated to low resolution panorama loaded before tiles

    baseUrl?: string

    low resolution panorama loaded before tiles

    cols: number

    number of vertical tiles (must be a power of 2)

    rows: number

    number of horizontal tiles (must be a power of 2)

    tileUrl: (col: number, row: number) => string | null

    function to build a tile url

    width: number

    complete panorama width (height is always width/2)