本文介绍了从哪里开始......位置感知?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一家餐厅评论应用程序,但我不确定应该如何使用位置感知功能。我正在开发Ruby on Rails。我想要做的是有能力搜索用户输入位置附近的地点,或根据他们的IP地址以及地理坐标或w / e猜测用户的位置。老实说,我不知道从哪里开始有人有任何好的api / gem /文章的建议? 解决方案

href =http://geokit.rubyforge.org/ =nofollow> geokit gem后端,以及,以获取用户的位置信息。


I'm working on a restaurant reviews app and I'm not sure what to use for location awareness.. I am developing it in ruby on rails. What I wan't it to do is have the ability to search for places nearby a user's entered location or guess the user's location based off their ip address as well as off of geo coordinates or w/e too. Honestly I don't know where to start anyone have any good api / gem / article suggestions?

解决方案

Check out the geokit gem for the backend, and the WC3 Geolocation API for getting location info from users.

这篇关于从哪里开始......位置感知?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-15 18:48