Photo Sphere Viewer
    Preparing search index...

    Type Alias CubemapMultiTilesPanorama

    Configuration of a tiled cubemap with multiple tiles configurations

    type CubemapMultiTilesPanorama = {
        baseUrl?: CubemapPanorama;
        flipTopBottom?: boolean;
        levels: CubemapTileLevel[];
        tileUrl: (
            face: keyof Cubemap,
            col: number,
            row: number,
            level: number,
        ) => string | null;
    }
    Index

    Properties

    baseUrl?: CubemapPanorama

    low resolution panorama loaded before tiles

    flipTopBottom?: boolean

    Set to true if the top and bottom faces are not correctly oriented

    false
    

    Configuration of tiles by zoom level

    tileUrl: (
        face: keyof Cubemap,
        col: number,
        row: number,
        level: number,
    ) => string | null

    function to build a tile url