sphereMAP v1.2 - API documentation

This documentation contains description for public part of sphereMAP API.

Main core component of sphereMAP library is SphereMap.Viewer. Above is minimal code for embed sphere photo in HTML page.

<!DOCTYPE html>
<html lang="en">
        #sphere {
            width: 600px;
            height: 600px;
    <script src="http://spheremap.cz/v1.2/api/sphere-map-bundle.js"></script>
    <div id="sphere"></div>
    var sphereMapViewer = new SphereMap.Viewer({containerId: 'sphere'});
        'demo', 'empty', {},
        function(response) {
                photoName: 'URL_TO_SPHERE_PHOTO'

            // here put your code working with library, now is library initialized