开发者

Adding Google Maps (API V3) support to a Ruby on Rails app

开发者 https://www.devze.com 2023-01-14 13:56 出处:网络
I\'m searching for a good solution for integrating google maps into a ruby on 开发者_StackOverflow中文版rails 2.3 app. I know there\'s a project called ym4r but it seems old and not so maintained. Sho

I'm searching for a good solution for integrating google maps into a ruby on 开发者_StackOverflow中文版rails 2.3 app. I know there's a project called ym4r but it seems old and not so maintained. Should I use directly the Google API itself?

Thanks!


Fyi, I've just released a new version of gmaps4rails.

It's based on Rails 3 and uses Google maps API V3:

https://github.com/apneadiving/Google-Maps-for-Rails


In my experience, I have used an API like Geokit to geocode the data, but when it comes to building the map, use the JavaScript API directly. It gives you the most control and allows you to build the map exactly how you want.


You can check out cartographer plugin, it supports painless integration of google maps v3 in rails , http://grati.la/cartorbflw


you could try the Geocoder gem for a Rails application.

0

精彩评论

暂无评论...
验证码 换一张
取 消