aty-photo-sphere-viewer
v0.0.2
Published
[![NPM version](https://img.shields.io/npm/v/photo-sphere-viewer.svg?style=flat-square)](https://www.npmjs.com/package/photo-sphere-viewer) [![jsDelivr Hits](https://data.jsdelivr.com/v1/package/npm/photo-sphere-viewer/badge)](https://www.jsdelivr.com/pac
Downloads
4
Readme
Photo Sphere Viewer
Photo Sphere Viewer is a JavaScript library that allows you to display 360×180 degrees panoramas on any web page. Panoramas must use the equirectangular projection and can be taken with the Google Camera, the Ricoh Theta or any 360° camera.
Forked from JeremyHeleine/Photo-Sphere-Viewer.
Documentation
Dependencies
Install
Manually
With Bower
$ bower install Photo-Sphere-Viewer
With npm
$ npm install photo-sphere-viewer
Via CDN
Photo Sphere Viewer is available on jsDelivr and unpkg
Build
Prerequisites
- NodeJS + NPM:
apt-get install nodejs-legacy npm
Run
Install Node dependencies npm install
then run npm run build
in the root directory to generate production files inside dist
.
Other commands
npm run test
to run jshint/jscs/scsslint.npm run serve
to open the example page with automatic build and livereload.npm run doc
to generate the documentation.
License
This library is available under the MIT license.