hasadna/open-bus-map-search
View on GitHubPerformance | split velocity page map to tiles
Open
#1,315 opened on Oct 10, 2025
enhancementfrontendhacktoberfestusabilityvelocities page
Repository metrics
- Stars
- (95 stars)
- PR merge metrics
- (PR metrics pending)
Description
In the velocity heatmap page, we always load the velocities from the entirety of Israel 🤯 . That's a lot of data, especially when we'll support zoom levels lon_min=34.25&lon_max=35.7&lat_min=29.5&lat_max=33.33:
I want to load the data from the backend in "tiles".
If you're not familiar with the map tiles concept, you can read about it here:
https://en.wikipedia.org/wiki/Tiled_web_map
there's an implementation of tile fetching in the useVehicleLocation hook. If you feel it's over complicated you're probably right, and we encourage you to make something more simple
Thanks ❤️