diff --git a/libs/deck-layers/src/layers/fourwings/FourwingsHeatmapLayer.ts b/libs/deck-layers/src/layers/fourwings/FourwingsHeatmapLayer.ts index 89913edb9a..073f0f6460 100644 --- a/libs/deck-layers/src/layers/fourwings/FourwingsHeatmapLayer.ts +++ b/libs/deck-layers/src/layers/fourwings/FourwingsHeatmapLayer.ts @@ -3,6 +3,7 @@ import { PathLayer, SolidPolygonLayer, TextLayer } from '@deck.gl/layers' import { GeoBoundingBox } from '@deck.gl/geo-layers' import { PathStyleExtension } from '@deck.gl/extensions' import { screen } from 'color-blend' +import { isEqual } from 'lodash' import { FourwingsFeature, getTimeRangeKey } from '@globalfishingwatch/deck-loaders' import { COLOR_HIGHLIGHT_LINE, @@ -113,7 +114,11 @@ export class FourwingsHeatmapLayer extends CompositeLayer { if (value && (!chosenValue || value > chosenValue)) { chosenValue = value