Open fcavola opened 11 years ago
The problem is likely that the geolocation service returns an error.
If you are using chrome see this bug report: https://code.google.com/p/chromium/issues/detail?id=154096
Basically, if you have a device (i.e. a desktop machine) without wifi, it might not work. To test whether geolocation is working with your browser in general, visit the following link from google developers: https://google-developers.appspot.com/maps/documentation/javascript/examples/map-geolocation
Step (on grails 1.3.7): -install the plugin -add geolocation:resources/ in the head -add geolocation:locateMe/ in the body -add script on the gsp
-test on Firefox 12.0 and chrome with agent for mobile
result: Error evaluating expression [session.position.coords.latitude] on line [11]: Cannot get property 'coords' on null object
Any advice?