This commit is contained in:
Jake Kasper
2025-08-22 16:00:27 -04:00
parent 0c71d5ce6a
commit 92945aa2e1
2 changed files with 2 additions and 1 deletions

View File

@@ -373,6 +373,7 @@ const PropertyMap = ({
return null;
}
// Your coordinates are already in [lng, lat] format, so we need to swap them for Leaflet
const coordinates = polygonData.coordinates[0].map(([lng, lat]) => [lat, lng]);
console.log('Mapped coordinates:', coordinates);