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
9fb73921
authored
2018-09-08 16:07:28 +0800
by
ex
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
GPS
1 parent
94cb8658
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
5 deletions
js/controller/mapController.js
js/controller/mapController.js
View file @
9fb7392
...
...
@@ -307,17 +307,13 @@ angular.module('myApp')
var
longitude
=
''
var
result
=
/
\{([\s\S]
*
)\}
/
.
exec
(
data
);
layer
.
open
({
content
:
JSON
.
stringify
(
result
),
time
:
5
})
return
// var obj = toJson(data)
var
arr
=
result
[
1
].
split
(
','
)
layer
.
open
({
content
:
JSON
.
stringify
(
arr
),
time
:
5
})
return
if
(
isAndroid
){
latitude
=
result
[
0
].
split
(
'='
)[
1
]
longitude
=
result
[
1
].
split
(
'='
)[
1
]
...
...
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