earth-genome / foodtwin-global-app

Repository for our work on the global foodtwin application.
MIT License
1 stars 0 forks source link

Bug: Zooming to producing region that crosses anti-meridian doesn't zoom properly #70

Open wrynearson opened 2 months ago

wrynearson commented 2 months ago

Edge case, literally 🥁

When users click on a producing area, the map is zoomed to that area (added in https://github.com/earth-genome/foodtwin-global-app/pull/52).

However, a region that spans the anti-meridian doesn't get zoomed to properly. For example, Alaska:

Screen Recording 2024-10-01 at 09 28 14