9fb73921 by ex

GPS

1 parent 94cb8658
...@@ -307,17 +307,13 @@ angular.module('myApp') ...@@ -307,17 +307,13 @@ angular.module('myApp')
307 var longitude = '' 307 var longitude = ''
308 308
309 var result = /\{([\s\S]*)\}/.exec(data); 309 var result = /\{([\s\S]*)\}/.exec(data);
310 layer.open({
311 content: JSON.stringify(result),
312 time: 5
313 })
314 return
315 // var obj = toJson(data) 310 // var obj = toJson(data)
316 var arr = result[1].split(',') 311 var arr = result[1].split(',')
317 layer.open({ 312 layer.open({
318 content: JSON.stringify(arr), 313 content: JSON.stringify(arr),
319 time: 5 314 time: 5
320 }) 315 })
316 return
321 if(isAndroid){ 317 if(isAndroid){
322 latitude = result[0].split('=')[1] 318 latitude = result[0].split('=')[1]
323 longitude = result[1].split('=')[1] 319 longitude = result[1].split('=')[1]
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!