Hi there,
I am wanting to find out how it would be possible to get hold of the users Longitude and Latitude values on click of a button in my telerik application.
Has anyone tried this? I don't need to use the map, I just need to store the values.
TIA
I have hacked it together in a Cordova project. Cordova has geolocation built in. More information here:
cordova.apache.org/.../geolocation.getCurrentPosition.html
Although I am sure others might have a better answer.
HTH
UPDATE: In fact, a little better Googling by me shows up this: http://docs.telerik.com/platform/samples/sample-geolocation/
Hello,
The link to the Telerik doc mentioned above is probably the best way to go about.
Just in case this is useful for your development, I thought you would like to know that support for geolocation is now also built into web browsers:
The cordoba-plugin-geolocation plugin has the following note:
"This API is based on the W3C Geolocation API Specification, and only executes on devices that don't already provide an implementation."
I hope this helps.