ruby-on-railsgoogle-mapsgeolocationrails-geocodergeokit

What is the best way to show location in Rails 4 app?


I'm building an app for a client. The client want to be able to display street map with its location on the contact page.

I've never used maps in a web app before and I've been googling around.

there are so many options to use and I´m not sure which one to use.... this is just for displaying the streetmap, with a pin or something at the address, nothing too fancy.

should I use geokit-rails?

or rubygeocoder?

or Google Maps API?

or is there something else I can use?

what do you guys/girls recommend?

any suggestions would be great

thanks in advance D


Solution

  • I use gem geocoder which I like. Just gem install geocoder. It supports geocoding and reverse geocoding, distance queries, rails 3-5. It is on github and website is here