Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 784 Bytes

README.md

File metadata and controls

24 lines (18 loc) · 784 Bytes

Open index.html in a supported browser.

In order to make edits and build bundle.js locally:

install npm: https://nodejs.org/en/
npm install -g browserify
npm install -g uglify-js

In route-spotter/

  1. mkdir node_modules/
  2. npm install git+https://github.com/transitland/finderjs.git
  3. npm install leaflet-polylinedecorator
  4. browserify js/index.js | uglifyjs > js/bundle.js

In addition, Route Spotter uses:
Leaflet.MovingMarker
leaflet.measure

Source for PolylineDecorator:
Leaflet.PolylineDecorator

Transitland's finderjs is forked from:
https://github.com/mynameistechno/finderjs