yycyeung commented on issue #12539:
URL: 
https://github.com/apache/incubator-echarts/issues/12539#issuecomment-623223317


   > A `coordinateSystem` in your case is required. If you want to use echarts 
in leaflet, you may need an echarts plugin for leaflet. Within the example, it 
can draw polygons by using the [custom 
series](https://echarts.apache.org/en/option.html#series-custom) since it 
depends on the plugin [Extension for Baidu 
Map](https://github.com/apache/incubator-echarts/tree/master/extension/bmap) 
which is provided officially.
   > There may be no need to use bmap, you can search in Github with the 
keyword `leaflet-echarts` to pick one suitable for you.
   > BTW, I think the version you are using is too old, it's better to upgrade 
it to 4.x. :)
   > 
   > 
![image](https://user-images.githubusercontent.com/26999792/80602231-705faa80-8a61-11ea-808f-192ba908461e.png)
   
   yess. I use echarts-leaflet, the third one in the pic I updated the echarts 
to 4.X.X but still got "prepareCustoms[coordSys.type] is not a function"


----------------------------------------------------------------
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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to