|
function testGetGpsV2() {
var nruid = document.getElementById('nruidv2').value;
var gpsPath = document.getElementById('filepathidv2').value;
if (gpsPath.length == 0) {
return;
}
if (session) {
session.swGetGpsRecordDataV2({
szNruId: nruid,
szFilePath: gpsPath,
callback: function (options, response, data) {
if (response.emms.code == jSW.RcCode.RC_CODE_S_OK) {
document.getElementById('Contentv2').innerHTML = JSON.stringify(data, null, 4);
}
},
tag: null
});
}
}
用以上的方法获取 轨迹数据获取不到数据 好像是解析报错
|
|