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
Hi,
I'm new to leaflet so this might just be a question but as I was playing with the rc3 version I noticed that viewreset doesn't fire when zoomed in/out.
On v0.7.7 however it seems to work fine. I could theoretically just use zoom event for now but there were lot of tutorials out there that seems to be referring to this event so just wanted to know if it was going to be changed.
Thanks.
The text was updated successfully, but these errors were encountered:
Yes, in 1.0, layers will have to rely on both zoom (zoom change) and viewreset (full reset of a layer). This was necessary to implement flyTo and other arbitrary animations. See #3278
Hi,
I'm new to leaflet so this might just be a question but as I was playing with the
rc3
version I noticed thatviewreset
doesn't fire when zoomed in/out.My attempt so far:-
or can be tested here
On v0.7.7 however it seems to work fine. I could theoretically just use
zoom
event for now but there were lot of tutorials out there that seems to be referring to this event so just wanted to know if it was going to be changed.Thanks.
The text was updated successfully, but these errors were encountered: