查看Android的GPS
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -95,7 +95,7 @@ AppClient.prototype.getGPS = function (jsonStr, callback) { | ... | @@ -95,7 +95,7 @@ AppClient.prototype.getGPS = function (jsonStr, callback) { |
| 95 | layer.open({ | 95 | layer.open({ |
| 96 | content: latitude | 96 | content: latitude |
| 97 | }) | 97 | }) |
| 98 | callback(toNonExponential(latitude), toNonExponential(longitude), responseCallback) | 98 | callback(latitude, longitude, responseCallback) |
| 99 | } | 99 | } |
| 100 | window.WebViewJavascriptBridge.callHandler('getGPS', jsonStr, function (data, responseCallback) { | 100 | window.WebViewJavascriptBridge.callHandler('getGPS', jsonStr, function (data, responseCallback) { |
| 101 | cb(data, responseCallback) | 101 | cb(data, responseCallback) | ... | ... |
-
Please register or sign in to post a comment