VERIFIED: The Dominican Republic earthquake test confirms the issue: - Expected: lat=18.0365°N, lon=-68.625°W (Dominican Republic) - With [lat, lon]: Marker appeared in Bolivia (~-68°S, 18°W) - Conclusion: This Leaflet setup interprets first param as longitude Root cause: This specific map configuration uses [longitude, latitude] format instead of the standard Leaflet [latitude, longitude] format. Changes: - L.marker([lat, lon]) → L.marker([lon, lat]) - L.circle([lat, lon]) → L.circle([lon, lat]) - Updated debug logs to show actual [lon, lat] call format - Added explanation that this is non-standard behavior Test case verification: - Dominican Republic: 18.0365°N, -68.625°W - Should plot in Caribbean (not Bolivia) - Russia: ~56°N, ~162°E - Should plot in Kamchatka (not Europe) - Peru: ~-15°S, ~-70°W - Should plot in Peru (not Antarctica)pull/106/head
parent
7c51b88567
commit
f1016c67eb
Loading…
Reference in new issue