zcreativelabs / react-simple-maps

Beautiful React SVG maps with d3-geo and topojson using a declarative api.
https://www.react-simple-maps.io/
MIT License
3.07k stars 424 forks source link

Markers does not represent the correct location #231

Closed TejasSalian closed 4 years ago

TejasSalian commented 4 years ago

None of the coordinates are plotting the correct location. I have tried many locations and verified the coordinates with google maps, it always plots in a different location.

You can verify this issue from this example from your official site - https://www.react-simple-maps.io/examples/basic-markers/

If you crosscheck the coordinates from the example in google maps, its very different for the mentioned location.

@Team, I am relying on this fix. I really liked your library, it serves all my requirements except the markers. Kindly requesting you to fix this issue.

TejasSalian commented 4 years ago

I swapped longitude with latitude and vice versa, marker is plotting correct location.