dirslashls opened a new issue #13673:
URL: https://github.com/apache/incubator-echarts/issues/13673


   ### Version
   5.0.0
   
   ### Steps to reproduce
   Please try the following on version 5.
   
   1) Copy the code at 
https://echarts.apache.org/examples/en/editor.html?c=map-usa but use it again 
5.0 library.
   2) In the options, add 
   ```
                geo: {
                        map: 'USA'
                },
   ```
   
   ### What is expected?
   Clicking any region on the map shouldn't throw error and call mouse event if 
registered.
   
   ### What is actually happening?
   Throws the following error.
   
   Uncaught TypeError: Cannot read property '__ec_inner_3' of undefined
       at echarts.js:16382
       at GeoView._handleRegionClick (echarts.js:65775)
       at Group.Eventful.trigger (echarts.js:1149)
       at Handler.dispatchToElement (echarts.js:1729)
       at Handler.<computed> [as click] (echarts.js:1823)
       at HandlerDomProxy.Eventful.trigger (echarts.js:1149)
       at HandlerDomProxy.localDOMHandlers.<computed> (echarts.js:7110)
       at HTMLDivElement.<anonymous> (echarts.js:7163)
   
   ---
   Note that if you don't have the geo coordinate system it works fine. I 
wanted to configure a few properties on the coordinate system instead of the 
individual series and that's how I ran into this problem.
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   <!-- This issue is in English. DO NOT REMOVE -->


----------------------------------------------------------------
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