whrcdontfearme22 / kwethluk-demo

Kwethluk Demo
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Discussion on how to fix centering of jaggy maps #1

Closed roblabs closed 4 years ago

roblabs commented 4 years ago

Issue — ScrollyTelling for this repo is based on a line with >1300 coordinates. When the scroll event fires, then the center of the map is updated, potentially too many times. Source of the problem —  It's possible that when the scroll event is fired, that the map center could be updated every coordinate in the line.


Here are some detailed thoughts on how to solve (all need implementation and testing).

roblabs commented 4 years ago

Some testing results on this logic


whrc-scrolly