GSVPano.js

Library to help requesting and stitching Google Street View panoramas.

Google Street View Panorama

Download Google SV images, knowing only it's coordinates. Easy to use, easy to escalate.


Check an Example

Fully documented

View Documentation

Get it working only with a few lines!

Check out this simple example:

// Create a PanoLoader object
var loader = new GSVPANO.PanoLoader({
    zoom: 3
});

// Implement the onPanoramaLoad handler
loader.on('panorama.load', function(panorama) {
    // panorama will now be loaded

    // for individual progress
    panorama.on('progress', changeProgress); 
  
    // for individual complete callback
    panorama.on('complete', completeCallback);
});

// Invoke the load method with a LatLng point
loader.load( new google.maps.LatLng( 42.216188,-75.726578 ) );

Start using it now!

Download Download minified

Github CDN

Check out other builds here.

<!-- Latest compiled and minified -->
<script src="//juampi92.github.io/GSVPano/build/GSVPano.min.js"></script>

<!-- Not minified -->
<script src="//juampi92.github.io/GSVPano/build/GSVPano.js"></script>

<!-- Custom version -->
<script src="//juampi92.github.io/GSVPano/build/GSVPano-1.0.0.min.js"></script>

Install with Bower

$ bower install GSVPano

Install with npm

You can also install GSVPano using npm:

$ npm install gsvpano

require('gsvpano') will get you the library, and it's ready for you to use it with Browserify or whichever front end bundler you want.