明树Git Lab
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
J
jt_front
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
jt_front
Commits
8398bf5c
Commit
8398bf5c
authored
Dec 11, 2025
by
yangyajing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2D
parent
ef89a10c
Pipeline
#104528
passed with stage
in 13 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
CommonMap.vue
src/components/CommonMap.vue
+3
-2
No files found.
src/components/CommonMap.vue
View file @
8398bf5c
...
@@ -48,8 +48,8 @@ let mapLoading = ref(true);
...
@@ -48,8 +48,8 @@ let mapLoading = ref(true);
const
handleInitMap
=
()
=>
{
const
handleInitMap
=
()
=>
{
map
=
new
AMap
.
Map
(
"container"
,
{
map
=
new
AMap
.
Map
(
"container"
,
{
//设置地图容器id
//设置地图容器id
mask
:
mask
,
//
mask: mask,
viewMode
:
"
3
D"
,
viewMode
:
"
2
D"
,
zoom
:
4
,
//根据屏幕宽度设置初始化地图级别
zoom
:
4
,
//根据屏幕宽度设置初始化地图级别
zooms
:
[
4
,
8
],
zooms
:
[
4
,
8
],
center
:
[
"lixiang"
,
"tuichu"
].
includes
(
props
.
tabKey
)
?
[
100.808299
,
35.791787
]
:
[
127.808299
,
35.791787
],
//初始化地图中心点位置
center
:
[
"lixiang"
,
"tuichu"
].
includes
(
props
.
tabKey
)
?
[
100.808299
,
35.791787
]
:
[
127.808299
,
35.791787
],
//初始化地图中心点位置
...
@@ -70,6 +70,7 @@ const handleInitMap = () => {
...
@@ -70,6 +70,7 @@ const handleInitMap = () => {
map
.
on
(
"complete"
,
function
()
{
map
.
on
(
"complete"
,
function
()
{
setTimeout
(()
=>
{
setTimeout
(()
=>
{
mapLoading
.
value
=
false
;
mapLoading
.
value
=
false
;
// map.setViewMode('3D');
},
500
);
},
500
);
});
});
handleDistrict
();
handleDistrict
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment