NO BUG: Leaflet max zoom broken

Browser: Any
OS: macOS

I have set the following Openstreetmap layer min/max zoom values in the Leaflet element: 12/20. For the map, I have set the following initial/min/max zoom values: 17/12/20

When I zoom out, the map can’t be zoomed any more when it reaches what I presume is the min value.

When I zoom in, the map disappears leaving a grey background and the location marker when I presume it reaches the max zoom value (or is it going one passed the max value?).

The map should still be displayed when the max zoom is reached.

Hey @simon,

I can replicate the issue. However, it looks like the same is happening outside of Bricks as well. I’ve prepared a JSFiddle for you to test it. I was able to replicate the same issue there.

I see that there is a new Leaflet version released (in alpha). Once this reaches stable, we will probably update it and that might solve the issue, but until then, as far as I see, there is nothing we could do, that’s also why I marked this as a NO BUG, as it’s not related to Bricks.

Thanks for understanding,
Matej