Photo Sphere Viewer

    Type Alias CubemapTilesPanorama

    Configuration of a tiled cubemap

    type CubemapTilesPanorama = {
        baseUrl?: CubemapPanorama;
        faceSize: number;
        flipTopBottom?: boolean;
        nbTiles: number;
        tileUrl: (face: keyof Cubemap, col: number, row: number) => string | null;
    }
    Index

    Properties

    baseUrl?: CubemapPanorama

    low resolution panorama loaded before tiles

    faceSize: number

    size of a face in pixels

    flipTopBottom?: boolean

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

    false
    
    nbTiles: number

    number of tiles on a side of a face

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

    function to build a tile url

    MMNEPVFCICPMFPCPTTAAATR