That would require all clients to install Gears though which isn't really ideal..
You could look into alternative services, looking up a locale based off of the client's IP address is nothing new so im sure there are more stable approaches to this sort of detection. -- http://positionabsolute.net On Aug 5, 10:21 am, Jeremy Geerdes <[email protected]> wrote: > Check out Google Gears. Gears' geolocation functionality is > significantly more advanced than that of the AJAX APIs. > > Jeremy R. Geerdes > Effective website design & development > Des Moines, IA > > For more information or a project > quote:http://jgeerdes.home.mchsi.comhttp://jgeerdes.blogspot.comhttp://jgeerdes.wordpress.com > [email protected] > > Unless otherwise noted, any price quotes contained within this > communication are given in US dollars. > > If you're in the Des Moines, IA, area, check out Debra Heights > Wesleyan Church! > > And check out my blog, Adventures in Web Development, > athttp://jgeerdes.blogspot.com > ! > > On Aug 5, 2009, at 8:19 AM, web wrote: > > > hi all, > > > the problem we have is with the google api regarding geolocation. > > > to restrict delivery of certain content according to commercial > > rights agreements it is necessary to resolve the location of > > visitors to our live tv (country is the only information needed), > > and as our development team is in sevilla (spain) initial testing > > went well. > > > the problem is that Sevilla seems to be one of the few locations > > correctly detected by the api, and as soon as we started testing in > > other regions of spain (and the UK) were finding that most users > > simply dont resolve a location. > > > one of the decisions to use this service was based on the great > > geolocation provided by google analytics (only two visitors from > > "not set" in the last month) and basically we expected the api to > > work just as well. obviously the service provided as part of google > > analytics is different and i would like to know if this could be a > > paid service apart from the free api. > > > we are looking at other services but have a considerable problem in > > that the web server is currently behind some very secure proxies and > > therefore we have no access to client data serverside. the location > > resolution must work entirely at the geolocation providers web > > service. > > > the current test is > > athttp://www.tvcanariados.com/television/testdirecto.aspx?canal=tv > > > running this once loaded: > > > <script type="text/javascript" language="javascript"> > > $(document).ready(function() { > > if (google.loader.ClientLocation != null) { > > var info = "Your Location Is: \n\n" + > > "City: " + > > google.loader.ClientLocation.address.city + "\n" + > > "Country: " + > > google.loader.ClientLocation.address.country + " (" + > > google.loader.ClientLocation.address.country_code + ")" + "\n" + > > "Region: " + > > google.loader.ClientLocation.address.region; > > alert(info); > > } else { > > alert("Your Location was not detected by Google"); > > } > > }); > > </script> > > > my questions are simply: > > is there anything were missing from this api? > > is there a paid service that provides the same resolution as google > > analytics? > > > regards, > > > James Collings > > RTVC.es --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google AJAX APIs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-AJAX-Search-API?hl=en -~----------~----~----~----~------~----~------~--~---
