Convert output from Open Trip Planner into sf object
1 | otp_json2sf(obj, full_elevation = FALSE)
|
obj |
Object from the OTP API to process |
full_elevation |
logical should the full elevation profile be returned (if available) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.