Skip to content

Commit

Permalink
Adjust documentation of setFeatureInformation
Browse files Browse the repository at this point in the history
  • Loading branch information
dopenguin committed Jan 6, 2025
1 parent 2149091 commit 9afba0c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/plugins/Gfi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 9afba0c

Please sign in to comment.