react-simple-maps icon indicating copy to clipboard operation
react-simple-maps copied to clipboard

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

Open shivanshPurple opened this issue 1 year ago • 4 comments

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

shivanshPurple avatar May 30 '24 04:05 shivanshPurple

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

abhishekti7 avatar Sep 02 '24 07:09 abhishekti7

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

shivanshPurple avatar Sep 02 '24 07:09 shivanshPurple

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

abhishekti7 avatar Sep 02 '24 07:09 abhishekti7

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.

shivanshPurple avatar Sep 02 '24 07:09 shivanshPurple