Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
map-demo
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2023-06-28 11:03:04 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
86bd1fbd0a5dfa8e4930b3793a8049714f38ad3a
86bd1fbd
1 parent
fd94e305
地图初始化中心点位置调整
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/views/index.vue
src/views/index.vue
View file @
86bd1fb
<!--
* @Date: 2023-05-19 14:54:27
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2023-06-28
09:49:21
* @LastEditTime: 2023-06-28
11:02:03
* @FilePath: /map-demo/src/views/index.vue
* @Description: 地图主体页面
-->
...
...
@@ -292,7 +292,7 @@ export default {
zoom: 18, // 设置地图显示的缩放级别
pitch: 0, // 俯仰角度,默认 0,最大值根据地图当前 zoom 级别不断增大,2D地图下无效 。
rotation: 0, // 地图顺时针旋转角度,取值范围 [0-360] ,默认值:0
center: [120.587382, 31.31
4504
], // 设置地图中心点坐标
center: [120.587382, 31.31
3900
], // 设置地图中心点坐标
forceVector: false,
rotateEnable: false,
layers: [
...
...
Please
register
or
login
to post a comment