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
c9211f2a
authored
2019-01-10 22:12:37 +0800
by
ex
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
添加提示
1 parent
ee4d6441
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
js/controller/mapController.js
js/controller/mapController.js
View file @
c9211f2
...
...
@@ -215,11 +215,9 @@ angular.module('myApp')
relocateControl
.
onclick
=
function
()
{
// map.panTo(myMarker.position);
layer
.
open
({
content
:
'正在定位'
})
initLocation
()
map
.
setZoom
(
15
);
//
map.setZoom(15);
}
map
.
getContainer
().
appendChild
(
relocateControl
);
return
relocateControl
;
...
...
@@ -291,7 +289,9 @@ angular.module('myApp')
// enableHighAccuracy:true,
// maximumAge:1000
// }
layer
.
open
({
content
:
'正在定位'
})
getlocation
();
function
getlocation
()
{
// wx.getLocation({
...
...
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