我试图将TopoJson Map添加到带有URL的标签中:https ://raw.githubusercontent.com/soncomqiq/front-end-forensic/master/gadm36_THA_1.json无法正常工作
但是,如果我添加URL:https : //gist.githubusercontent.com/GordyD/49654901b07cb764c34f/raw/27eff6687f677c984a11f25977adaa4b9332a2a9/countries-and-states.json 。
我不为什么不渲染我的地图。
我的gadm36_THA_1.json是通过以下步骤(在步骤6中)生成的:https: //medium.com/@augustgiles8/rendering-the-us-with-react-simple-maps-2e31fe7d49d
<ZoomableGroup center={[-8.3, -46.8]} disablePanning>
<Geographies geography="https://raw.githubusercontent.com/soncomqiq/front-end-forensic/master/gadm36_THA_1.json">
{(geographies, projection) =>
geographies.map((geography, i) =>
<Geography...
相关分类