carbonplan / maps

interactive multi-dimensional data-driven web maps
https://maps.demo.carbonplan.org
Other
214 stars 18 forks source link

more lenient longitude validation for region picker initialCenter #117

Closed Shane98c closed 5 months ago

Shane98c commented 5 months ago

When zoomed way out, it's common for the world to wrap and features to be shown more than once on large screens. In these cases, we should allow longitudes that exceed 180 since it allows us to specify which of the duplicate features we actually want to center on.

vercel[bot] commented 5 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Ignored Deployments | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **maps-demo** | ⬜️ Ignored ([Inspect](https://vercel.com/carbonplan/maps-demo/DCZvVQk4jCaLyL35n6eQnNX8dsPE)) | | | Jun 7, 2024 8:33pm | | **maps-docs** | ⬜️ Ignored ([Inspect](https://vercel.com/carbonplan/maps-docs/4vzZxqcSZ1PxASJm1ny8jvWdQ77p)) | | | Jun 7, 2024 8:33pm |