Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
FleetTruckView
Project
Project
Details
Activity
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
FleetTruck
FleetTruckView
Commits
70f4a1d4
Commit
70f4a1d4
authored
Aug 24, 2023
by
高晓帆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
37e3fb16
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
0 deletions
+5
-0
Deck_20230824195654.js
.history/src/tools/Deck_20230824195654.js
+0
-0
MapLeaflet_20230824195643.vue
.history/src/views/map/MapLeaflet_20230824195643.vue
+0
-0
Deck.js
src/tools/Deck.js
+1
-0
MapLeaflet.vue
src/views/map/MapLeaflet.vue
+4
-0
No files found.
.history/src/tools/Deck_20230824195654.js
0 → 100644
View file @
70f4a1d4
This diff is collapsed.
Click to expand it.
.history/src/views/map/MapLeaflet_20230824195643.vue
0 → 100644
View file @
70f4a1d4
This diff is collapsed.
Click to expand it.
src/tools/Deck.js
View file @
70f4a1d4
...
...
@@ -39,6 +39,7 @@ export default class DeckNew {
this
.
creatPolygon
=
this
.
creatPolygon
.
bind
(
this
);
this
.
setLayerSortName
=
this
.
setLayerSortName
.
bind
(
this
);
this
.
setPitch
=
this
.
setPitch
.
bind
(
this
);
this
.
removeLayer
=
this
.
removeLayer
.
bind
(
this
);
}
initLayer
()
{
this
.
layerSort
()
...
...
src/views/map/MapLeaflet.vue
View file @
70f4a1d4
...
...
@@ -236,6 +236,10 @@ function dealMapPath(value, layerName, color) {
// map.setLayerSortName('bufferLayer', layerName + 'Buffer')
map
.
createGeoJsonLayer
(
obj
,
attr
,
layerName
+
'Buffer'
)
mapLayers
[
`
${
layerName
}
Buffer`
]
=
`
${
layerName
}
Buffer`
}
else
{
// console.log(map)
value
!=
null
&&
map
.
removeLayer
(
'map'
,
layerName
)
value
!=
null
&&
map
.
removeLayer
(
'map'
,
layerName
+
'Buffer'
)
}
}
...
...
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