fix:修改小车层级

This commit is contained in:
SunTao 2024-12-30 16:19:32 +08:00
parent 70663acfbd
commit edb6ab57e7

View File

@ -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");