This is a migrated thread and some comments may be shown as answers.

Mapping

3 Answers 112 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
martin bertram
Top achievements
Rank 1
martin bertram asked on 23 Nov 2011, 02:02 AM
With Kendo UI, can one build apps for capturing GPS coordinates, saving to a database along with picture and text?  And also plotting multiple GPS points onto a map such as google maps?

3 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 23 Nov 2011, 03:08 PM
Hello Martin,

 Currently this is not supported and at this point I cannot tell when we would provide such functionality out of the box.



Best wishes,
Georgi Tunev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
andrew
Top achievements
Rank 1
answered on 24 Nov 2011, 08:52 AM
@martin, you can use W3C Geolocation API.
if (navigator.geolocation) {
  var timeoutVal = 10 * 1000 * 1000;
  navigator.geolocation.getCurrentPosition(
    displayPosition,
    displayError,
    { enableHighAccuracy: true, timeout: timeoutVal, maximumAge: 0 }
  );
}
else {
  alert("Geolocation is not supported by this browser");
}
 
function displayPosition(position) {
  alert("Latitude: " + position.coords.latitude + ", Longitude: " + position.coords.longitude);
}
Regards
Andrew
0
andrew
Top achievements
Rank 1
answered on 24 Nov 2011, 08:52 AM
Ooops server error posting!
Tags
General Discussions
Asked by
martin bertram
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
andrew
Top achievements
Rank 1
Share this question
or