Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
NewTruckTerminalSyetem
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
SQL_Mou
NewTruckTerminalSyetem
Commits
41cec5ae
Commit
41cec5ae
authored
May 19, 2022
by
caicaicai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
440aebb7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
Map.vue
src/components/mars3d/Map.vue
+7
-0
No files found.
src/components/mars3d/Map.vue
View file @
41cec5ae
...
@@ -163,6 +163,7 @@ export default {
...
@@ -163,6 +163,7 @@ export default {
that
.
allCarInforData
.
forEach
((
item
,
index
)
=>
{
that
.
allCarInforData
.
forEach
((
item
,
index
)
=>
{
var
graphicLayer4
=
new
mars3d
.
layer
.
GraphicLayer
();
var
graphicLayer4
=
new
mars3d
.
layer
.
GraphicLayer
();
map
.
addLayer
(
graphicLayer4
);
map
.
addLayer
(
graphicLayer4
);
that
.
bindLayerPopup
(
graphicLayer4
)
that
.
addDemoGraphics
(
graphicLayer4
,
item
.
number
,
item
.
equipmentName
,
item
.
carclass
);
that
.
addDemoGraphics
(
graphicLayer4
,
item
.
number
,
item
.
equipmentName
,
item
.
carclass
);
})
})
...
@@ -249,6 +250,12 @@ export default {
...
@@ -249,6 +250,12 @@ export default {
},
4000
)
},
4000
)
},
},
// 在图层绑定Popup弹窗
bindLayerPopup
(
graphicLayer
)
{
graphicLayer
.
bindPopup
(
function
(
event
)
{
console
.
log
(
'
fdfdf
'
)
})
}
}
}
}
}
...
...
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