You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since 3.23.0 version and its upgrade of a numerous packages related to leaflet there is a regression concerning large lineString not correctly centered once the page loads. It appears zoomed in.
After some investigations:
The map container have not minZoom explicitly defined
If we define an explicit 0 value, the bug is gone.
According to the leaflet documentation:
If [the minZoom is] not specified and at least one GridLayer or TileLayer is in the map, the lowest of their minZoom options will be used instead.
But we don't want to define it explicitly because we let the user to choose minZoom / maxZoom by defining in the options of tileLayer in map.json.
There is no minZoom specified, but it seems curiously to be set to 13. And it looks like a matching with default value of zoomAvailableOffline settings.
Identified here, the load of mapOfflineLayer forces a minZoom to 13.
The text was updated successfully, but these errors were encountered:
Since 3.23.0 version and its upgrade of a numerous packages related to leaflet there is a regression concerning large lineString not correctly centered once the page loads. It appears zoomed in.
After some investigations:
minZoom
explicitly defined0
value, the bug is gone.minZoom
/maxZoom
by defining in the options of tileLayer inmap.json
.13
. And it looks like a matching with default value ofzoomAvailableOffline
settings.Identified here, the load of
mapOfflineLayer
forces a minZoom to 13.The text was updated successfully, but these errors were encountered: