Closed JiangLinsheng closed 1 year ago
例如请求东莞市的地理数据的接口url如下: https://gw.alipayobjects.com/os/alisis/geo-data-v0.1.2/choropleth-data/city/441900_city_district.topo.json
接口返回如下:
代码片段如下:
此地址拿到的地理数据也是为空的,地址为: https://cdn.jsdelivr.net/npm/static-geo-atlas@0.0.2/geo-data/choropleth-data/city/441900_city_district.topo.json 截图如下:
希望大佬可以抽出宝贵的时间帮小弟看看。
东莞市下面没有区县数据,直接是街道粒度,所以没有数据,geo-data 里面没有处理这种情况,如果有需要自己提供数据吧,替换成自己的数据 URL 地址 @JiangLinsheng
🐛 行政区域,获取没有区县的地市的地理数据为空,包括广东省: 东莞市(441900)、中山市(442000);海南省: 儋州市(460400);甘肃省 :嘉峪关市(620200)。
例如请求东莞市的地理数据的接口url如下: https://gw.alipayobjects.com/os/alisis/geo-data-v0.1.2/choropleth-data/city/441900_city_district.topo.json
接口返回如下:
代码片段如下:
此地址拿到的地理数据也是为空的,地址为: https://cdn.jsdelivr.net/npm/static-geo-atlas@0.0.2/geo-data/choropleth-data/city/441900_city_district.topo.json 截图如下:
希望大佬可以抽出宝贵的时间帮小弟看看。