Skip to content

jstransit uses Leaflet to display public transport relations (v2) from Openstreetmap using the Overpass API. If you time a certain PT route, you can use jstransit to display the speed for each segment and various other statistics.

License

Notifications You must be signed in to change notification settings

filipok/jstransit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jstransit

jstransit uses Leaflet to display public transport relations (v2) from Openstreetmap using the Overpass API. If you time a certain PT route, you can use jstransit to display the speed for each segment and various other statistics.

Examples

See several examples in the examples folder:

  • multiple.html displays several public transport relations in Bucharest, Romania;
  • examples timings display statistics for trips made with Bus 117 in Bucharest in October 2016;
  • route.html lets you choose a PT relation and a timing file from examples/timings to display statistics for the trip;
  • routes.html same as above, and you can also display multiple routes, see the fifth screenshot below; there is also a button to clear the map.

TODO

  • document timing format (but you have some examples)
  • add route tooltip
  • document other stuff
  • add ability to clear map in routes.html

Screenshots

multiple routes station tooltip stats choose route and timing stats

About

jstransit uses Leaflet to display public transport relations (v2) from Openstreetmap using the Overpass API. If you time a certain PT route, you can use jstransit to display the speed for each segment and various other statistics.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published