Non interactive layers

This commit is contained in:
Keith Paterson
2021-01-11 22:00:22 +01:00
parent 25e603d15f
commit ac53005c0d
8 changed files with 88 additions and 3 deletions
+9
View File
@@ -72,6 +72,15 @@ You should have received a copy of the GNU General Public License along with FG
})
}
},
disableEdit () {
if (this.layerGroup) {
this.layerGroup.eachLayer(l => {
if (l instanceof L.TowerMarker) {
l.enableEdit(this.$parent.mapObject)
}
})
}
},
save () {
if (this.layerGroup) {
this.layerGroup.eachLayer(l => {