Skip to content

Commit

Permalink
Merge pull request #19837 from zhaoxinggang/master
Browse files Browse the repository at this point in the history
georoam supports the totalZoom parameter
  • Loading branch information
Ovilia committed Apr 16, 2024
2 parents c576f0c + 1ad9a08 commit 697e798
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/component/helper/MapDraw.ts
Original file line number Diff line number Diff line change
Expand Up @@ -595,6 +595,7 @@ class MapDraw {
roamHelper.updateViewOnZoom(controllerHost, e.scale, e.originX, e.originY);

api.dispatchAction(zrUtil.extend(makeActionBase(), {
totalZoom: controllerHost.zoom,
zoom: e.scale,
originX: e.originX,
originY: e.originY,
Expand Down
1 change: 1 addition & 0 deletions test/map-china.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 697e798

Please sign in to comment.