 This is occurring due to the use of `off()` function here: https://github.com/Maps4HTML/Web-Map-Custom-Element/blob/abff1aa1ddbb849ae6e69a30f124c4fe76178e0e/src/layer.js#L305-L306 This is because of the [upgrade to leaflet 1.9.3](https://github.com/Maps4HTML/Web-Map-Custom-Element/pull/715) and the change to the use of the `off` function from leaflet [1.71](https://web.archive.org/web/20220505205646/https://leafletjs.com/reference-1.7.1.html#https://leafletjs.com/#domevent) to [1.9.3](https://leafletjs.com/reference.html#domevent).