Save 36% for Black Friday! Learn more

New Discussion

Notifications

You’re not receiving notifications from this thread.

I am trying to build an application that will display routes on a map

1
Ruby

Hi there,

I am completely new to Ruby, and am trying to understand a way of building an application to display routes on a map, using this API: http://wiki.itsfactory.fi/index.php/Journeys_API.

I want to use a map such as Google maps/Open maps/Mapbox to display the routes, but not sure how to upload the information I get back from the API, what packages to use, etc.

Any help would be grand! Thankyou,

Luke

RestClient is pretty good for accessing an external API, although sometimes people have built an wrapper around the API to make it easier to work with. You might check rubygems.org to see if you can find an API wrapper gem.

Then once you get the information back from the API, you probably want to save it in your database.

And to render it in Open Street Maps or something similar, you'd use their Javascript APIs to load in the routes.
https://wiki.openstreetmap.org/wiki/Routing

Join the discussion
Create an account Log in