amis icon indicating copy to clipboard operation
amis copied to clipboard

AMIS 的 echarts 支持 registerMap 方法吗?

Open ringsaturn opened this issue 6 years ago • 2 comments

想在 AMIS 里绘制地图,没有找到加载 GeoJSON 文件的方法。

https://echarts.apache.org/examples/zh/editor.html?c=map-HK

ringsaturn avatar May 18 '20 05:05 ringsaturn

这种貌似实现不了

RickCole21 avatar May 19 '20 08:05 RickCole21

GeoJson 得自己通过 api 提供,然后配置 onDataFilter 可以把数据设置进去 echarts.registerMap('HK', geoJson);

2betop avatar May 25 '20 01:05 2betop