Why use it

It's light-weight, compatible with panoramas from different sources.

City Panorama

Panorama in Cube

Images are mapped to the surface of a cube.

                    
requirejs(['app'], function() {
    $(".panorama").panorama({
        type: "cube",
        tiles: HERE.Panorama.getImageUrls("1027084269", HERE.Panorama.RESOLUTION.HIGH)
    });
});
                    
                

Pano in Sphere

Images are mapped to the surface of a shpere.

                    
requirejs(['app'], function() {
    $(".panorama").panorama({
        type: "sphere",
        tiles: GOOGLE.Panorama.getRawImageUrls("aGE0sa518wMxN2TvTKNklw", zoom),
        rows: Math.pow(2, zoom - 1),
        columns: Math.pow(2, zoom),
        dimensionOffset: -96
    });
});
                    
                

ThreeJs Example

Implement the three.js example.

                    
requirejs(['app'], function() {
    $(".panorama").panorama({
        type: 'sphere',
        tiles: ["images/panoramas/indoor.jpg"]
    });
});
                    
                

More APIs will come soon

TODO