From 4f73e3ff917f6b9ae54e9b1be6e29a80aa29c9e6 Mon Sep 17 00:00:00 2001 From: thinkinggis Date: Thu, 10 Sep 2020 23:42:06 +0800 Subject: [PATCH] chore: update version --- packages/l7/src/version.ts | 2 +- packages/source/src/source.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/l7/src/version.ts b/packages/l7/src/version.ts index fea363830e..dd6eca95f2 100644 --- a/packages/l7/src/version.ts +++ b/packages/l7/src/version.ts @@ -1,2 +1,2 @@ -const version = '2.2.36'; +const version = '2.2.37'; export { version }; diff --git a/packages/source/src/source.ts b/packages/source/src/source.ts index b41d69f1a6..4ce1dcd54f 100644 --- a/packages/source/src/source.ts +++ b/packages/source/src/source.ts @@ -11,7 +11,7 @@ import { lazyInject, TYPES, } from '@antv/l7-core'; -import { bBoxToBounds, padBounds, extent } from '@antv/l7-utils'; +import { bBoxToBounds, extent, padBounds } from '@antv/l7-utils'; import { BBox, Feature, @@ -87,7 +87,7 @@ export default class Source extends EventEmitter { } public updateClusterData(zoom: number): void { const { method = 'sum', field } = this.clusterOptions; - const newBounds = padBounds(bBoxToBounds(this.extent),2); + const newBounds = padBounds(bBoxToBounds(this.extent), 2); let data = this.clusterIndex.getClusters( newBounds[0].concat(newBounds[1]), Math.floor(zoom),