miridius / worldie

worldie.vercel.app
2 stars 1 forks source link

Switch from openlayers to leaflet #3

Closed miridius closed 2 years ago

miridius commented 2 years ago

For the POC I used openlayers to render the map, however it has a few issues:

  1. Slow initial load
  2. Imperative, overly verbose API
  3. Struggling to get it to do what we want with enough control (things like zooming and constraining the view)
  4. Usability issues

Leaflet hopefully solves at least the first issue as it appears to be a lot more lightweight and fast.

If leaflet turns out to not be great then we can consider using D3 instead