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
71c40ae1
authored
2019-01-10 22:17:25 +0800
by
ex
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
添加提示
1 parent
64aa91c9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
js/controller/mapController.js
js/controller/mapController.js
View file @
71c40ae
...
...
@@ -216,7 +216,7 @@ angular.module('myApp')
relocateControl
.
onclick
=
function
()
{
// map.panTo(myMarker.position);
initLocation
()
initLocation
(
true
)
// map.setZoom(15);
}
map
.
getContainer
().
appendChild
(
relocateControl
);
...
...
@@ -307,7 +307,7 @@ angular.module('myApp')
appClient
.
getGPS
(
''
,
function
(
latitude
,
longitude
,
cb
)
{
layer
.
open
({
content
:
'正在定位'
content
:
latitude
+
"_"
+
longitude
})
onSuccess
({
latitude
:
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