9fb73921 by ex

GPS

1 parent 94cb8658
......@@ -307,17 +307,13 @@ angular.module('myApp')
var longitude = ''
var result = /\{([\s\S]*)\}/.exec(data);
layer.open({
content: JSON.stringify(result),
time: 5
})
return
// var obj = toJson(data)
var arr = result[1].split(',')
layer.open({
content: JSON.stringify(arr),
time: 5
})
return
if(isAndroid){
latitude = result[0].split('=')[1]
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!