Fix log errors about "clickable"

This commit is contained in:
Ian Renton
2026-08-11 22:20:49 +01:00
parent 0e6eba80a9
commit 13a9bff798
9 changed files with 21 additions and 19 deletions
+6 -4
View File
@@ -109,8 +109,9 @@ L.WorkedAllBritainIreland = L.LayerGroup.extend({
icon: new L.DivIcon({
html: '<span style="position: relative; top: -40%; left: -40%; text-align: center; cursor: hand; color:'+this.options.color+'; font-weight: bold; font-size:120%;">' + squareRef + '</font></span>',
className: 'wabSquareLabel' // Prevent default background & border and provide ability to customise
})
}, clickable=false);
}),
interactive: false
});
this.addLayer(label);
}
@@ -142,8 +143,9 @@ L.WorkedAllBritainIreland = L.LayerGroup.extend({
icon: new L.DivIcon({
html: '<span style="position: relative; top: -20%; left: -100%; text-align: center; cursor: hand; color:'+this.options.color+'; font-weight: bold; font-size:120%;">' + squareRef + i + j + '</font></span>',
className: 'wabSquareLabelLong' // Prevent default background & border and provide ability to customise
})
}, clickable=false);
}),
interactive: false
});
this.addLayer(label);
}
}