Push to back
This commit is contained in:
parent
921321d3b0
commit
8a646490c8
@ -69,6 +69,11 @@
|
|||||||
if (this.groundnet !== undefined) {
|
if (this.groundnet !== undefined) {
|
||||||
if (visible) {
|
if (visible) {
|
||||||
this.groundnet.addTo(this.$parent.mapObject)
|
this.groundnet.addTo(this.$parent.mapObject)
|
||||||
|
this.groundnet.eachLayer(l => {
|
||||||
|
if (l) {
|
||||||
|
l.bringToBack()
|
||||||
|
}
|
||||||
|
})
|
||||||
} else {
|
} else {
|
||||||
this.groundnet.removeFrom(this.$parent.mapObject)
|
this.groundnet.removeFrom(this.$parent.mapObject)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user