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
This needs a bit more investigation. The event seems to fire at least a few times during pan animations, but it doesn't fire consistently enough to hook InfoBox repositions to. To put it scientifically, it "stutters" during the animation. The animation occurs in dom/PosAnimation.js (and presumably dos/PosAnimation.Timer.js for legacy browsers).
For now, NPMap (NPMap.Map.Leaflet) turns off inertia in the L.Map config and uses L.Map._rawPanBy when the InfoBox is displayed to work around this issue. If the InfoBox is not displayed, L.Map.panBy is used.
The text was updated successfully, but these errors were encountered:
This needs a bit more investigation. The event seems to fire at least a few times during pan animations, but it doesn't fire consistently enough to hook InfoBox repositions to. To put it scientifically, it "stutters" during the animation. The animation occurs in dom/PosAnimation.js (and presumably dos/PosAnimation.Timer.js for legacy browsers).
For now, NPMap (
NPMap.Map.Leaflet
) turns off inertia in theL.Map
config and usesL.Map._rawPanBy
when the InfoBox is displayed to work around this issue. If the InfoBox is not displayed,L.Map.panBy
is used.The text was updated successfully, but these errors were encountered: