From a4bb29516a84228c3880d13e520df37df8fe5398 Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Mon, 11 Jul 2022 12:00:55 +0200 Subject: [PATCH] Fix typing error in import flow --- UI/ImportFlow/CompareToAlreadyExistingNotes.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UI/ImportFlow/CompareToAlreadyExistingNotes.ts b/UI/ImportFlow/CompareToAlreadyExistingNotes.ts index 3be0f1991f..8cf3346600 100644 --- a/UI/ImportFlow/CompareToAlreadyExistingNotes.ts +++ b/UI/ImportFlow/CompareToAlreadyExistingNotes.ts @@ -93,7 +93,7 @@ export class CompareToAlreadyExistingNotes extends Combine implements FlowStep<{ state, zoomToFeatures: true, leafletMap: comparisonMap.leafletMap, - features: new StaticFeatureSource(partitionedImportPoints.map(p => p.hasNearby)), + features: StaticFeatureSource.fromGeojsonStore(partitionedImportPoints.map(p => p.hasNearby)), popup: (tags, layer) => new FeatureInfoBox(tags, layer, state) })