From 8d73ca3f7597c9d678dafa5f17f8b82df168ac8a Mon Sep 17 00:00:00 2001 From: thinkinggis Date: Fri, 9 Oct 2020 16:32:25 +0800 Subject: [PATCH] =?UTF-8?q?fix(scene):=20=E5=9C=B0=E5=9B=BEpanBy=20?= =?UTF-8?q?=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix #536 --- packages/scene/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/scene/src/index.ts b/packages/scene/src/index.ts index 214db6d600..b7c8538525 100644 --- a/packages/scene/src/index.ts +++ b/packages/scene/src/index.ts @@ -294,7 +294,7 @@ class Scene } public panBy(pixel: Point): void { - this.mapService.panTo(pixel); + this.mapService.panBy(pixel); } public getContainer() {