Merge pull request #562 from Kamidu/release-2.0.x

improvements for location view
4.x.x
Rasika Perera 8 years ago committed by GitHub
commit 212cc52eb2

@ -89,7 +89,11 @@ deviceModule = function () {
var gpsReadingTimes = {}; var gpsReadingTimes = {};
gpsReading.lat = locationDataSet[i].latitude; gpsReading.lat = locationDataSet[i].latitude;
gpsReading.lng = locationDataSet[i].longitude; gpsReading.lng = locationDataSet[i].longitude;
if (deviceType == "android") {
gpsReadingTimes.time = locationDataSet[i].timeStamp; gpsReadingTimes.time = locationDataSet[i].timeStamp;
} else {
gpsReadingTimes.time = locationDataSet[i].meta_timestamp;
}
locationData.push(gpsReading); locationData.push(gpsReading);
locationTimeData.push(gpsReadingTimes); locationTimeData.push(gpsReadingTimes);
} }

Loading…
Cancel
Save