react-streetviewSimple React.js component for Google Street View
Demo & ExamplesLive demo: elcsiga.github.io/react-streetview
InstallationThe easiest way to use react-streetview is to install it from NPM and include it in your own React build process (using Browserify, Webpack, etc).
npm install react-streetview --save
You can also use the standalone build by including
dist/react-streetview.jsin your page. If you use this, make sure you have already included React, and it is available as a global variable.
Development (To build the examples locally, run:
lib and the build process)
npm install npm start
localhost:8000in a browser.
NOTE: The source code for the component is in
src. A transpiled CommonJS version (generated with Babel) is available in
libfor use with node.js, browserify and webpack. A UMD bundle is also built to
dist, which can be included without the need for any build system.
To build, watch and serve the examples (which will also watch the component source), run
npm start. If you just want to watch changes to
npm run watch(this is useful if you are working with