Reputation: 1
Is there a way that I can use OpenTripPlanner in Flutter? I'm able to set it up locally on my laptop with GTFS but I don't know how to implement it in Flutter.
For context, I'm building a public transport journey planner app.
Your help will be greatly appreciated.
Many thanks.
Upvotes: 0
Views: 425
Reputation: 101
OpenTripPlanner provides a web client and API. For Flutter you might be able to use a WebView like an iframe and embed the OpenTripPlanner web front-end.
Alternatively you'd have to create your own mapping front-end with Dart and fetch the appropriate OpenTripPlanner API end points. (A lot more work though).
http://dev.opentripplanner.org/apidoc/2.0.0/resource_IndexAPI.html
Upvotes: 0