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
64aa91c9
authored
2019-01-10 22:16:08 +0800
by
ex
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
添加提示
1 parent
c9211f2a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
js/controller/mapController.js
js/controller/mapController.js
View file @
64aa91c
...
...
@@ -289,9 +289,7 @@ angular.module('myApp')
// enableHighAccuracy:true,
// maximumAge:1000
// }
layer
.
open
({
content
:
'正在定位'
})
getlocation
();
function
getlocation
()
{
// wx.getLocation({
...
...
@@ -308,7 +306,9 @@ angular.module('myApp')
}
else
{
appClient
.
getGPS
(
''
,
function
(
latitude
,
longitude
,
cb
)
{
layer
.
open
({
content
:
'正在定位'
})
onSuccess
({
latitude
:
latitude
,
longitude
:
longitude
...
...
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