In the simple HTML document, by setting the scope to different countries and import the corresponding ones, I can get the map of different countries.
However, when I try to make it to a react component, the scope only works for 'world' and 'usa'. For example, it will throw an uncaught TypeError " cannot read property of 'chn' of undefined if I try to load the map of china. I'm pretty sure this way works in HTML document and the react component is right. So I suspect it might be some wield settings in the map source, could you answer it?
In the simple HTML document, by setting the scope to different countries and import the corresponding ones, I can get the map of different countries. However, when I try to make it to a react component, the scope only works for 'world' and 'usa'. For example, it will throw an uncaught TypeError " cannot read property of 'chn' of undefined if I try to load the map of china. I'm pretty sure this way works in HTML document and the react component is right. So I suspect it might be some wield settings in the map source, could you answer it?