openwichita / busICT

A tool for making it easier to use the bus in Wichita
MIT License
1 stars 6 forks source link

Bus Stops added to map #10

Closed Mearnest closed 9 years ago

Mearnest commented 9 years ago

A .datasrc folder was added inside of lib where make_stops.js lives. Run it with node from the command line to regenerate the stops.js file inside lib. It first attempts to fetch the latest geojson date from the Wichita portal, and then falls back to the Wichita_Transit_Stops.json file if an error occurs.

The busICT.js file was modified to loop through the bus stops and add a marker for each one to the map. This is right after the routes have been added.