From 6b24bdbe90685db28a628739144d268866eaa527 Mon Sep 17 00:00:00 2001 From: Peter Bowyer Date: Mon, 16 Sep 2024 12:18:21 +0100 Subject: [PATCH] Update README.md Correct default for 'removeMissing' option --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6822db8..af3eb48 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,7 @@ Option | Type | Default | Description `getFeatureId( featureData)` | `Function` | Returns `featureData.properties.id` | Function used to get an identifier uniquely identify a feature over time `updateFeature( featureData, oldLayer)` | `Function` | Special | Used to update an existing feature's layer; by default, points (markers) are updated, other layers are discarded and replaced with a new, updated layer. Allows to create more complex transitions, for example, when a feature is updated | `container` | `LayerGroup` | L.geoJson() | Specifies the layer instance to display the results in -`removeMissing` | `Boolean` | `false` | Should missing features between updates been automatically removed from the layer +`removeMissing` | `Boolean` | `true` | Should missing features between updates been automatically removed from the layer ##### Events