No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples added code May 1, 2013
src Merge branch 'B0RJA-master' Aug 12, 2014
LICENSE added code May 1, 2013
README.md fixed URLs in README May 1, 2013

README.md

GSVPanoDepth.js

A JavaScript library that downloads and extracts depth maps from Google Street View.

Usage

<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false" type="text/javascript"></script> 
<script src="jquery.min.js" type="text/javascript"></script>
<script src="jquery.base64.min.js" type="text/javascript"></script>
<script src="zpipe.min.js" type="text/javascript"></script>
<script src="GSVPanoDepth.js" type="text/javascript"></script>
var depthLoader = new GSVPANO.PanoDepthLoader();

depthLoader.onDepthLoad = function() {

    // Returns depth map in the following format:
    //
    // this.depthMap.width: width of depth map in pixels
    // this.depthMap.height: height of depth map in pixels
    // this.depthMap.depthMap: Float32Array of size width*height that contains the depth at each pixel

};

panoLoader.load(new google.maps.LatLng(42.345601, -71.098348));

Requirements

License

MIT License