mirror of
https://github.com/stylersnico/librenms.git
synced 2026-08-02 00:32:09 +02:00
Fix up opacity bug in the custom example
This commit is contained in:
@@ -85,6 +85,7 @@
|
||||
function removePolygon() {
|
||||
if (shownLayer) {
|
||||
shownLayer.setOpacity(1);
|
||||
shownLayer = null;
|
||||
}
|
||||
if (polygon) {
|
||||
map.removeLayer(polygon);
|
||||
|
||||
Reference in New Issue
Block a user