This is an automated email from the ASF dual-hosted git repository.

shenyi pushed a commit to branch next
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git


The following commit(s) were added to refs/heads/next by this push:
     new 894113d  fix(bmap): disable transition animaiton in bmap roam
894113d is described below

commit 894113d69d83a50db01a6e4ce932a114cffa76c3
Author: pissang <bm2736...@gmail.com>
AuthorDate: Wed Aug 5 13:04:22 2020 +0800

    fix(bmap): disable transition animaiton in bmap roam
---
 extension-src/bmap/BMapView.ts | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/extension-src/bmap/BMapView.ts b/extension-src/bmap/BMapView.ts
index 6f990ed..e67df91 100644
--- a/extension-src/bmap/BMapView.ts
+++ b/extension-src/bmap/BMapView.ts
@@ -46,7 +46,10 @@ export default echarts.extendComponentView({
             bMapModel.__mapOffset = mapOffset;
 
             api.dispatchAction({
-                type: 'bmapRoam'
+                type: 'bmapRoam',
+                animation: {
+                    duration: 0
+                }
             });
         };
 
@@ -55,7 +58,10 @@ export default echarts.extendComponentView({
                 return;
             }
             api.dispatchAction({
-                type: 'bmapRoam'
+                type: 'bmapRoam',
+                animation: {
+                    duration: 0
+                }
             });
         }
 


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

Reply via email to