简体   繁体   中英

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

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

Try gmaps4rails gem.

It is simple and easy to intregrate in rails application.

Check the Docs here .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM