No description
  • JavaScript 96.9%
  • CSS 2.9%
  • HTML 0.2%
Find a file
Matt 2a34eef3c6 fix: Correct MultiPolygon coordinate flattening for fitBounds
MultiPolygon coordinates need .flat(2) not .flat(1) to get actual
coordinate pairs. With flat(1), we were iterating over rings instead
of coordinates, causing invalid lat values > 90.

Also added bounds validation before fitBounds to catch future issues.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-05-02 05:01:02 +00:00
frontend fix: Correct MultiPolygon coordinate flattening for fitBounds 2026-05-02 05:01:02 +00:00