From 9afba0ca551f54772f3c9df69d107f58b7d0b33a Mon Sep 17 00:00:00 2001 From: Pascal Roehling Date: Mon, 6 Jan 2025 17:16:39 +0100 Subject: [PATCH] Adjust documentation of setFeatureInformation --- packages/plugins/Gfi/README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/plugins/Gfi/README.md b/packages/plugins/Gfi/README.md index e00e67b2c..fb562cc26 100644 --- a/packages/plugins/Gfi/README.md +++ b/packages/plugins/Gfi/README.md @@ -224,8 +224,7 @@ map.$store.dispatch('plugin/gfi/setFeatureInformation', { }) ``` -The payload object has to include all layers configured to be used with this plugin. -The value assigned to those keys is an array of GeoJSON-Features. +The payload object expects a layer id as a key and an array of GeoJSON-Features as its value. The selected feature information can be reset by calling the method with an empty object.