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

Map is not rendering

Open iamibrahimriaz opened this issue 2 years ago • 2 comments

geoURL is returning error.

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

this file is empty.

iamibrahimriaz avatar Oct 05 '23 02:10 iamibrahimriaz

Fixed error by using another geoURL.

geoUrl = 'https://unpkg.com/[email protected]/countries-110m.json';

iamibrahimriaz avatar Oct 05 '23 02:10 iamibrahimriaz

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/[email protected]/countries-110m.json';

mibii avatar Mar 14 '24 23:03 mibii