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

Map is not rendering #345

Open iamibrahimriaz opened 12 months ago

iamibrahimriaz commented 12 months ago

geoURL is returning error.

GET https://raw.githubusercontent.com/deldersveld/topojson/master/world-countries.json 404

this file is empty.

iamibrahimriaz commented 12 months ago

Fixed error by using another geoURL.

geoUrl = 'https://unpkg.com/world-atlas@2.0.2/countries-110m.json';

mibii commented 6 months ago

is possible to use this file locally? for some reason the local path is not working (i put it in my project folder) geoUrl = './countries-110m.json'; while the full web link path is forking fine geoUrl = 'https://unpkg.com/world-atlas@2.0.2/countries-110m.json';