plainheart commented on issue #4537:
URL: 
https://github.com/apache/incubator-echarts/issues/4537#issuecomment-704333342


   目前似乎可以通过 `echarts.registerMap` 注册所需的 svg 扩展地图,然后在 `series.map` 中使用即可。
   
   ```js
   $.get('football.svg', function (svg) {
     echarts.registerMap('football', {
        svg: svg
     }
   });
   ```
   
   mapbox 也提供了一个 svg 转 geoJSON 
的插件:[svg-to-geojson](https://github.com/mapbox/svg-to-geojson)
   不过转换出来只是结构,不包含样式。


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org

Reply via email to