cb412d7e by ex

GPS数据

1 parent e5744b40
......@@ -375,9 +375,13 @@ angular.module('myApp')
function onSuccess(position){
layer.open({
content: JSON.stringify(position)+',longitude:'+ position.longitude+',latitude:' + position.latitude,
content: typeof position,
time: 5
})
// layer.open({
// content: JSON.stringify(position)+',longitude:'+ position.longitude+',latitude:' + position.latitude,
// time: 5
// })
var longitude = position.longitude;
var latitude = position.latitude;
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!