72607

Where to start… location awareness?

Question:

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?

Answer1:

Check out the <a href="http://geokit.rubyforge.org/" rel="nofollow">geokit</a> gem for the backend, and the <a href="http://dev.w3.org/geo/api/spec-source.html" rel="nofollow">WC3 Geolocation API</a> for getting location info from users.

Recommend

  • How can I create a new expression for use with Thymeleaf and Spring?
  • ElasticSearch - Query to filter and aggregate on nested object term
  • Softlayer API: Account destroy?
  • JQuery highlight table row
  • What is the parameter “distance” when using search fql?
  • Distance Matrix API: Zip Code 70128 returns zero results
  • Android Marshmallow [API 23] : Bluetooth UUID returns NULL
  • Casting a list of children to a list of parent types
  • ChartKick Show original value rather percentage in PIE and line chart
  • iOS Safari image rendering issue
  • Remove 2 vertical borders from HTML table - how?
  • WCF Service Application returns 404 using WebGet
  • Solr config, encrypting data config file
  • Determining if a string has been entered with a leading single quote
  • Type mismatch: cannot convert from Connection to Connection
  • Drag and Drop for imageview not working
  • Can I customize a Jackson ObjectMapper by adding a module?
  • FragmentActivity with a Fragment Containing a MapView
  • Many to many relationship core data query for specific collection
  • custom string delimiters stringtemplate-4
  • Insertion large number of Entities into SQL Server 2012 [duplicate]
  • netsh acl setting (need alternative method - registry settings?)
  • how to set variables in a php include file?
  • Limiting recursion to certain level - Duplicate rows
  • Jackson Parser: ignore deserializing for type mismatch
  • Use of this Javascript
  • Google Custom Search with transparent background
  • C++ Partial template specialization - design simplification
  • Recording logins for password protected directories
  • Insert into database using onclick function
  • What is Eclipse's Declaration View used for?
  • Can I make an Android app that runs a web view in Chrome 39?
  • How to get next/previous record number?
  • How to format a variable of double type
  • Python: how to group similar lists together in a list of lists?
  • Exception on Android 4.0 `android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork(StrictMode)`
  • Authorize attributes not working in MVC 4
  • Busy indicator not showing up in wpf window [duplicate]
  • Python/Django TangoWithDjango Models and Databases
  • Net Present Value in Excel for Grouped Recurring CF