[Maps] fix removing global filter from layer can cause app to start thrashing (#72763)

This commit is contained in:
Nathan Reese 2020-07-22 13:37:18 -06:00 committed by GitHub
parent 80da1c6a54
commit 8b27b1e83c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,6 +55,7 @@ function getClusterSource(documentSource: IESSource, documentStyle: IVectorStyle
geoField: documentSource.getGeoFieldName(),
requestType: RENDER_AS.POINT,
});
clusterSourceDescriptor.applyGlobalQuery = documentSource.getApplyGlobalQuery();
clusterSourceDescriptor.metrics = [
{
type: AGG_TYPE.COUNT,