Hey all,
Is there a library out there that will get you your approximate location using the google service (https://www.google.com/loc/json)?
Google Gears has support for it as described here http://code.google.com/p/gears/wiki/GeolocationAPI There is also good doco on the web service request/response schema.
Firefox and iPhone Safari use the service as well and they have their own implementations. I would like to use the service in my own C# application so I would like a library that I can use (either one of C/C++/C#). Currently the only way my colleague got it working is using a gears plugin for IE and hosting the embedded IE window in our WPF app. This is a bit cumbersome and poorly re-distributable.
Any ideas?
Edit This is a comment from the above page:
Comment by [email protected], Dec 02, 2008
Thanks for all the comments. A few responses ...
Answers to many of the questions about use of the API can be found in the Geolocation >API documentation at http://code.google.com/apis/gears/api%5Fgeolocation.html. This Wiki page is intended to document work in progress for those developing Gears, not to serve as definitive documentation of the API.
Regarding the JSON protocol, I've updated this document to reflect the current behaviour in Gears. Note that official documentation of the protocol will soon be added to the Geolocation API documentation.
The Gears Terms of Service prohibits direct use of the Google location server (http://www.google.com/loc/json) via HTTP requests. This service may only be accessed through the Geolocation API.
This kinda sucks. So how does Firefox gets away using this service directly via a HTTP request.