fix:修改小车层级
This commit is contained in:
parent
70663acfbd
commit
edb6ab57e7
@ -1034,7 +1034,7 @@ export default {
|
||||
this.clusters = new VectorLayer({
|
||||
source: clusterSource,
|
||||
name: "clusterLayer",
|
||||
zIndex: 10,
|
||||
zIndex: 1,
|
||||
style: (feature) => {
|
||||
const count = feature.get("features").length;
|
||||
if (count > 1) {
|
||||
@ -1662,6 +1662,7 @@ export default {
|
||||
properties: {
|
||||
type: "carPoint",
|
||||
},
|
||||
zIndex: 2,
|
||||
});
|
||||
this.$nextTick(() => {
|
||||
const map = this.$refs.roadMap.instance.get("map");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user