提示运行环境
Showing
1 changed file
with
5 additions
and
1 deletions
| ... | @@ -377,7 +377,11 @@ angular.module('myApp') | ... | @@ -377,7 +377,11 @@ angular.module('myApp') |
| 377 | var longitude = position.longitude; | 377 | var longitude = position.longitude; |
| 378 | var latitude = position.latitude; | 378 | var latitude = position.latitude; |
| 379 | layer.open({ | 379 | layer.open({ |
| 380 | content: JSON.stringify(position), | 380 | content: latitude, |
| 381 | time: 2 | ||
| 382 | }) | ||
| 383 | layer.open({ | ||
| 384 | content: longitude, | ||
| 381 | time: 5 | 385 | time: 5 |
| 382 | }) | 386 | }) |
| 383 | $rootScope.currentPoint = { | 387 | $rootScope.currentPoint = { | ... | ... |
-
Please register or sign in to post a comment