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
We are currently using integer only zoom in LayeredMap.
This gives quite large jump in zoom levels when zooming in the view.
It would be useful if the zoom levels could be more flexible.
wheelPxPerZoomLevel controls zoom delta when using mouse wheel. Higher value is same as lower ZoomDelta. Set it to a high value and it will use zoomSnap.
We are currently using integer only zoom in LayeredMap.
This gives quite large jump in zoom levels when zooming in the view.
It would be useful if the zoom levels could be more flexible.
Per https://leafletjs.com/examples/zoom-levels/ (Fractional zoom) it is possible to have much smaller zoom increments by using the props
zoomDelta
andzoomSnap
.zoomDelta
controls how much the view zooms in when using the buttons, whilezoomSnap
will snap the zoom to a nearest accepted value.Perhaps add these as props with a default:
zoomDelta : 0.25
zoomSnap: 0
?The text was updated successfully, but these errors were encountered: