Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
任超
/
js.portalStaticPage
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
2f60b440
authored
2020-11-03 19:41:20 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix:地图的修改
1 parent
61a062dc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
staticJs/xzqy.js
staticJs/xzqy.js
View file @
2f60b44
...
...
@@ -100,3 +100,7 @@ var opts = {
};
var
infoWindow
=
new
BMapGL
.
InfoWindow
(
'雁塔区南二环西段'
,
opts
);
map
.
openInfoWindow
(
infoWindow
,
point
);
map
.
centerAndZoom
(
new
BMapGL
.
Point
(
108.95309828
,
34.2777999
),
12
);
// 初始化地图,设置中心点坐标和地图级别
map
.
enableScrollWheelZoom
(
true
);
// 开启鼠标滚轮缩放
\ No newline at end of file
...
...
Please
register
or
sign in
to post a comment