Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
杨建斌
/
dy-wx2
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
cb412d7e
authored
2018-09-02 22:47:52 +0800
by
ex
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
GPS数据
1 parent
e5744b40
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
js/controller/mapController.js
js/controller/mapController.js
View file @
cb412d7
...
...
@@ -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
;
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment