Comment

Comment by rraval

This is an awesome writeup!

I was playing with the demo linked elsewhere in this thread [demo], and noticed a bit of a hiccup when scrolling past multiple zoom levels. It seems like there'd be a bit of a pause as the tiles were rendered at each successive zoom level. It may be worthwhile to debounce the scroll event listeners with a small timeout, so you can catch multiple successive scroll events and zoom straight to the target zoom level without having to render each step along the way.

Quick video of the stuttering: http://gfycat.com/BrilliantActiveAfghanhound

[demo] https://seatgeek.com/senators-at-flyers-tickets/4-11-2015-ph...

parent rraval 12 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton