mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
adding location history to map view
This commit is contained in:
parent
bd75b789c2
commit
bf38ad5f70
@ -89,7 +89,11 @@ deviceModule = function () {
|
||||
var gpsReadingTimes = {};
|
||||
gpsReading.lat = locationDataSet[i].latitude;
|
||||
gpsReading.lng = locationDataSet[i].longitude;
|
||||
if (deviceType == "android") {
|
||||
gpsReadingTimes.time = locationDataSet[i].timeStamp;
|
||||
} else {
|
||||
gpsReadingTimes.time = locationDataSet[i].meta_timestamp;
|
||||
}
|
||||
locationData.push(gpsReading);
|
||||
locationTimeData.push(gpsReadingTimes);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user