Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
holo-web
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
xinkong
holo-web
Commits
a6e1a1f5
Commit
a6e1a1f5
authored
May 29, 2024
by
ninglx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wj-data-vision默认视角及展示模型zoom
调整 避免三路口与模型展示需求冲突
parent
16e0b671
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
index.vue
wj-data-vision/src/views/intersectionGroups/index.vue
+8
-8
No files found.
wj-data-vision/src/views/intersectionGroups/index.vue
View file @
a6e1a1f5
...
...
@@ -438,22 +438,22 @@ export default {
)
{
this
.
situationTimeVal
=
msg
[
0
].
dateTime
;
// zoom 大于 18
if
(
zoom
>=
1
8
)
{
if
(
zoom
>=
1
7
)
{
this
.
removeLayers
(
"
vehiclePic,vehiclePoint
"
);
}
// zoom 小于 18:隐藏 threebox ;大于17且小于18的部分使用图片图层 其余部分使用圆点
if
(
zoom
<
1
8
)
{
if
(
zoom
<
1
7
)
{
this
.
hideTb
();
if
(
zoom
>
17
)
{
this
.
removeLayers
(
"
vehiclePoint
"
);
mapTools
.
addOrUpdateVehiclePic
(
map
,
"
vehiclePic
"
,
msg
);
}
else
{
//
if (zoom > 17) {
//
this.removeLayers("vehiclePoint");
//
mapTools.addOrUpdateVehiclePic(map, "vehiclePic", msg);
//
} else {
this
.
clearLicense
();
this
.
removeLayers
(
"
lightLayer,lightLayerText,vehicleSelectWave,license,licenseBack,vehiclePic
"
);
mapTools
.
addOrUpdateVehicle
(
map
,
"
vehiclePoint
"
,
msg
);
}
//
}
}
let
allData
=
this
.
diff
(
this
.
lastLocation
,
msg
);
for
(
let
item
of
allData
)
{
...
...
@@ -469,7 +469,7 @@ export default {
this
.
clearSelectVehicle
();
}
}
if
(
zoom
>
1
8
)
{
if
(
zoom
>
1
7
)
{
// 新增
if
(
this
.
modelsEmpty
)
{
item
.
dill
=
"
add
"
;
...
...
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