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

ovilia pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/echarts-doc.git


The following commit(s) were added to refs/heads/dev by this push:
     new 47b0f852 doc(geo): add doc for georoam totalZoom apache/echarts#19837
47b0f852 is described below

commit 47b0f8527d3c68fa109dd50d1080b17389fcf341
Author: Ovilia <zwl.s...@gmail.com>
AuthorDate: Tue Apr 16 14:44:08 2024 +0800

    doc(geo): add doc for georoam totalZoom apache/echarts#19837
---
 en/api/events.md | 3 ++-
 zh/api/events.md | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/en/api/events.md b/en/api/events.md
index 70082368..97741fb2 100644
--- a/en/api/events.md
+++ b/en/api/events.md
@@ -257,6 +257,7 @@ Event emitted after [geo](option.html#geo) is roamed.
     componentType: 'geo' | 'series',
     seriesId: string,
     zoom: number, // zoom ratio of roaming once
+    totalZoom: number, // accumulated zoom ratio
     originX: number,
     originY: number
 }
@@ -525,7 +526,7 @@ var option = {
     // ...
 };
 chart.on('finished', function () {
-    // ...  
+    // ...
 });
 chart.setOption(option);
 ```
diff --git a/zh/api/events.md b/zh/api/events.md
index cb4f06bd..c9d2208b 100644
--- a/zh/api/events.md
+++ b/zh/api/events.md
@@ -255,6 +255,7 @@ chart.on('mouseover', {seriesIndex: 1, name: 'xx'}, 
function (params) {
     componentType: 'geo' | 'series',
     seriesId: string,
     zoom: number, // 单次缩放倍数
+    totalZoom: number, //累计缩放倍数
     originX: number,
     originY: number
 }
@@ -514,7 +515,7 @@ var option = {
     // ...
 };
 chart.on('finished', function () {
-    // ...  
+    // ...
 });
 chart.setOption(option);
 ```


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

Reply via email to