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

deldersveld/topojson is not available anymore, where to get topojson now? #360

Open shivanshPurple opened 4 months ago

shivanshPurple commented 4 months ago

https://github.com/deldersveld/topojson This Repository/page doesn't exist anymore. Where can I get topojson for individual countries with its states now?

abhishekti7 commented 4 weeks ago

https://github.com/zcreativelabs/react-simple-maps/issues/345#issuecomment-1747960168

shivanshPurple commented 4 weeks ago

Found out that highcharts topojson available in their documentation also works perfectly with this library. For example here is a topo json for Germany Json Link

Edit 1: Documentation link

abhishekti7 commented 4 weeks ago

Hi, thanks for the links.

Have you found any resources to show countries along with their cities in the map?

For example, if I zoom in on India in the world map, all the states should be visible

shivanshPurple commented 4 weeks ago

Yes, this highcharts link includes topojson for countries with their states. I have checked for Germany, Italy, India, works fine. For other countries too, it should also be the same case

Edit 1: I am not sure if its possible to do with all the countries shown at once. Maybe you can write up some custom logic for that.