Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: I made an interactive map of virtually every ski resort in the world (boarderspeak.com)
3 points by TasselHat on Dec 18, 2024 | hide | past | favorite | 2 comments


I love the idea.

I'm having difficulty using the map, though. It feels like it's leaking resources, because after panning and zooming around the world for just a few seconds it almost completely locks up and stops responding to user input.


Thanks for the helpful feedback, I appreciate it, I was lazily rendering all the markers because I was working with a much smaller dataset of only US resorts, but the map component was rendering and calculating the position of 4000+ markers on every map move, I added some optimizations (only renders when zoomed in a bit, only renders visible markers) and it's running a lot smoother now. Thanks!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: