[X] I've looked at the documentation to make sure the behavior isn't documented and expected.
[X] I'm sure this is an issue with Leaflet, not with my app or other dependencies (Angular, Cordova, React, etc.).
[X] I've searched through the current issues to make sure this hasn't been reported yet.
[X] I agree to follow the Code of Conduct that this project adheres to.
Steps to reproduce
zoom out until the zoom value less than 3
the leaflet layer hidden.
zoom in again to 3 and more, leaflet showing
Expected behavior
Im new in the game. I want to have map with graphical info and I try something like the 'from-to' flights. I use maptiler as the map.
just realised if it's zoomed out to zoom level less than 3 the leaflet graphical is gone.
i try to enforce with setData(mapData) again in the map.addEventListener("moveend", {}) event, but the position is wrong.
https://leaflet-zoom-bug.netlify.app/https://leaflet-zoom-bug-with-zoomend.netlify.app/
expected behaviour:
the leaflet layer should be still showing at least in zoom level 1 or 2
Current behavior
when zoomed-out to the zoom level less that 3, leaflet layer hidden
Checklist
Steps to reproduce
Expected behavior
Im new in the game. I want to have map with graphical info and I try something like the 'from-to' flights. I use maptiler as the map. just realised if it's zoomed out to zoom level less than 3 the leaflet graphical is gone. i try to enforce with
setData(mapData)
again in themap.addEventListener("moveend", {})
event, but the position is wrong. https://leaflet-zoom-bug.netlify.app/ https://leaflet-zoom-bug-with-zoomend.netlify.app/expected behaviour: the leaflet layer should be still showing at least in zoom level 1 or 2
Current behavior
when zoomed-out to the zoom level less that 3, leaflet layer hidden
Minimal example reproducing the issue
https://leaflet-zoom-bug-with-zoomend.netlify.app/
Environment