3b944a3b by ex

GPS

1 parent f9d18df3
......@@ -309,6 +309,10 @@ angular.module('myApp')
var result = /\{([\s\S]*)\}/.exec(str);
// var obj = toJson(data)
var arr = result[1].split(',')
layer.open({
content: JSON.stringify(arr),
time: 5
})
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!