Geolocation is a W3C API, standard and is adopted for the HTML5. This API defines objects accesibles in JavaScript, so you must to define the script in the view part of your application.
There a lot of javascript code about geolocation. A simple may be : http://www.w3schools.com/html/html5_geolocation.asp Interesting too is a javascript library for some mobile that the browsers don't support geolocation natively in http://code.google.com/p/geo-location-javascript/ Hope this help El miércoles, 26 de septiembre de 2012 13:05:39 UTC+2, Manuele escribió: > > Il 26/09/2012 04:38, weheh ha scritto: > > I want to play around with geo location stuff. Is there a simple way > > to get the location of the user's browser when they access a > > controller/action within web2py? I'm not trying to convert an address > > to a geo location. I'm looking for lat/long info from the user's > > browser at the time they make a request. > something like this? > http://www.browsergeolocation.com/ > > M. > --

