pissang opened a new issue #11947: Missing animation when changing zoom and 
center of geo component
URL: https://github.com/apache/incubator-echarts/issues/11947
 
 
   ### Version
   4.6.0
   
   ### Steps to reproduce
   Reproduce code
   ```js
   var locations = [{
       name: '上海',
       coord: [121.472644, 31.231706]
   }, {
       name: '北京',
       coord: [116.405285, 39.904989]
   }, {
       name: '广东',
       coord: [113.280637, 23.839463714285714]
   }];
   option = {
       tooltip: {
           trigger: 'item',
           formatter: '{b}'
       },
       series: [
           {
               name: '中国',
               type: 'map',
               mapType: 'china',
               selectedMode : 'multiple',
               label: {
                   show: true
               }
           }
       ]
   };
   
   var currentLoc = 0;
   setInterval(function () {
       myChart.setOption({
           series: [{
               center: locations[currentLoc].coord,
               zoom: 4,
               data: [
                   {name: locations[currentLoc].name, selected: true}
               ],
               animationDurationUpdate: 1000,
               animationEasingUpdate: 'cubicInOut'
           }]
       });
       currentLoc = (currentLoc   1) % locations.length;
   }, 2000);
   ```
   
   ### What is expected?
   There is transition animation.
   
   ### What is actually happening?
   No animation
   
   <!-- 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]


With regards,
Apache Git Services

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

Reply via email to