fix: 解决聚合情况下清空图层点数据未清空BUG (#1311)

This commit is contained in:
MarkLei7 2022-08-30 10:24:53 +08:00 committed by GitHub
parent 1b1fa6238e
commit 33c34764b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -137,6 +137,7 @@ export default class MarkerLayer extends EventEmitter {
});
this.mapsService.off('camerachange', this.update);
this.markers = [];
this.points=[];
this.clusterMarkers = [];
}