ParkingReformNetwork / parking-lot-map

Interactive map showing how much of downtowns are dominated by parking
https://parkingreform.org/parking-lot-map/
MIT License
1 stars 5 forks source link

Consider migrating to Maplibre #220

Closed Eric-Arellano closed 1 month ago

Eric-Arellano commented 1 month ago

We'd migrate from Leaflet to https://maplibre.org.

MapLibre is vector-based, which should be faster to load than Leaflet's raster-based approach. It also reduces our data usage from Stamen Tiles.

However, this might be a big rewrite, especially wtih CSS. So I'm not sure it's worth it.

Eric-Arellano commented 1 month ago

I'm voting no. We're only using half of our data allotment for map tiles, and it's not very expensive if we have to upgrade more.

Regarding performance, https://blog.locationiq.com/vector-or-raster-maps-which-one-is-best-for-you/ doesn't make it sound like it's that dramatic of an improvement for user experience. It can actually be worse for low compute devices. Either way, the biggest issue with our map is the size of the lots data set, not the map tile itself.

Our engineering time would be better spent on other projects.