- "/": OSM.Index(map),
- "/search": OSM.Search(map),
- "/export": OSM.Export(map),
- "/new_note": OSM.NewNote(map),
- "/history": history,
- "/user/:display_name/edits": history,
- "/browse/friends": history,
- "/browse/nearby": history,
- "/browse/note/:id": OSM.Note(map),
- "/browse/:type/:id(/history)": OSM.Browse(map)
+ "/": OSM.Index(map),
+ "/search": OSM.Search(map),
+ "/directions": OSM.Directions(map),
+ "/export": OSM.Export(map),
+ "/note/new": OSM.NewNote(map),
+ "/history/friends": history,
+ "/history/nearby": history,
+ "/history": history,
+ "/user/:display_name/history": history,
+ "/note/:id": OSM.Note(map),
+ "/node/:id(/history)": OSM.Browse(map, "node"),
+ "/node/:id/history/:version": OSM.OldBrowse(),
+ "/way/:id(/history)": OSM.Browse(map, "way"),
+ "/way/:id/history/:version": OSM.OldBrowse(),
+ "/relation/:id(/history)": OSM.Browse(map, "relation"),
+ "/relation/:id/history/:version": OSM.OldBrowse(),
+ "/changeset/:id": OSM.Changeset(map),
+ "/query": OSM.Query(map)