Skip to content

Commit 9afba0c

Browse files
committed
Adjust documentation of setFeatureInformation
1 parent 2149091 commit 9afba0c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/plugins/Gfi/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,8 +224,7 @@ map.$store.dispatch('plugin/gfi/setFeatureInformation', {
224224
})
225225
```
226226

227-
The payload object has to include all layers configured to be used with this plugin.
228-
The value assigned to those keys is an array of GeoJSON-Features.
227+
The payload object expects a layer id as a key and an array of GeoJSON-Features as its value.
229228

230229
The selected feature information can be reset by calling the method with an empty object.
231230

0 commit comments

Comments
 (0)