最新的echarts在使用时,如果使用按需加载的方式引入依赖。在使用 registerMap 函数时会报错
如果出现这两个错误:
Implementation of registerMap doesn't exists.
或者
Map xxx not exists. The GeoJSON of the map must be provided.
那么大概率是因为 echarts 升级后导致的不兼容问题。 原文内容:echarts5.3非兼容改动

在Echarts的新版本中,使用按需加载并尝试注册地图时可能会遇到ImplementationofregisterMapdoesntexist.或Mapxxxnotexists.TheGeoJSONofthemapmustbeprovided.的错误。这通常由于版本升级带来的不兼容性导致,需要提供GeoJSON数据或调整引入方式来解决。
最新的echarts在使用时,如果使用按需加载的方式引入依赖。在使用 registerMap 函数时会报错
如果出现这两个错误:
Implementation of registerMap doesn't exists.
或者
Map xxx not exists. The GeoJSON of the map must be provided.
那么大概率是因为 echarts 升级后导致的不兼容问题。 原文内容:echarts5.3非兼容改动

9676
8119
354

被折叠的 条评论
为什么被折叠?