The markers were appearing in completely wrong locations: - Peru earthquakes showing in Antarctica - Russia earthquakes showing in Northern Europe Root cause: The L.marker() and L.circle() calls need [lon, lat] order instead of the standard Leaflet [lat, lon] format for this specific setup. Changes: - L.marker([lat, lon]) → L.marker([lon, lat]) - L.circle([lat, lon]) → L.circle([lon, lat]) This ensures earthquakes plot at their correct geographic locations.pull/106/head
parent
882b6f5996
commit
cc8d2ae09b
Loading…
Reference in new issue