Skip to content

A geek way to access the Google StreetView Data from Node.js

License

Notifications You must be signed in to change notification settings

sukinull/node-gsv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google Street View(GSV)

A geek way to access the Google StreetView Data from Node.js

Installation

npm install git+https://github.com/sukinull/node-gsv.git

Design

We(In fact, I) focus on two information, pano's {location, links} dataset.

GSV may get location and links data by passing in latlng or Google internal panoid. Each location and links(emit event, one link by link) will bind to panoid

Usage

GSV = require('node-gsv');

GSV.on('location', function(panoid, loc) {
  console.log(panoid, JSON.stringify(loc));
});

GSV.on('link', function(panoid, link) {
  console.log(panoid, link);
});

GSV.streetView('25.033729,121.563867');
// or
GSV.streetView('dINsCMZgX--TpEMbNRNb9A');

License

AGPL or Contact me.

Changelog list

  • 0.0.1
    • Initial version
    • My first node module try

About

A geek way to access the Google StreetView Data from Node.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published