RichardMaher / Brotkrumen

Javascript Background Geolocation POC
73 stars 14 forks source link

Animation Fails If Zoom Level Changes #6

Open AlexanderAdelAU opened 2 years ago

AlexanderAdelAU commented 2 years ago

The animation appears to fail if the zoom level is changed during an animation, which suggests that the programme is intolerant of any changes in scale.

RichardMaher commented 2 years ago

@AlexanderAdelAU You must be looking at testmap.html because in Brotkrumen zoom is turned off during journey. But yes, I would not bother writing the code to reset segment transition. At best I'd suggest "Cancel" the journey.

There is another bug that used to occur on hard "pan" rather than smooth but now it appears to be segment > 99998px. I'll be fixing that soon.