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.12k stars 426 forks source link

Singapore is missing from your world map. #196

Closed f0rfun closed 4 years ago

f0rfun commented 4 years ago

Is the map supposed to be complete? Or is it a work in progress? How many other countries were left out?

ikarasz commented 4 years ago

@f0rfun the library's task is to draw a map based on a topojson. The topojson is up to you, you can create your own with any countries, regions whatever. The topojsons within this library are simple examples.

f0rfun commented 4 years ago

I see! Thanks! :D

phatlamhd commented 3 years ago

Hi @f0rfun @ikarasz could you share me the arcs of Singapore to be able to draw by this library I've tried to find out coordinates but cannot use by this library Thanks

f0rfun commented 3 years ago

Hey @phatlamhd, you can check out my repo here for your reference. I haven't touched the code in awhile but I remember I swapped out the topojson for something else entirely.

Let me know if you have any other questions. Happy to help.

phatlamhd commented 3 years ago

Thanks @f0rfun I can draw now