Skip to content

Commit

Permalink
Improve map filter plugin documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
manisandro committed Feb 27, 2024
1 parent 704a515 commit b1f62db
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions plugins/MapFilter.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,24 @@ import './style/MapFilter.css';
* title: "<filter_title>",
* titlemsgid: "<filter_title_msgid>",
* filter: {
* "<layer>": <data_service_expression>
* "<layer>": <data_service_filter_expression>
* },
* fields: {
* id: "<value_id>",
* title: "<value_title">,
* titlemsgid: "<value_title_msgid">",
* titlemsgid: "<value_title_msgid>",
* defaultValue: <default_value>,
* inputConfig: {<input_field_opts>}
* }
* }
* ```
*
* The data service filter expressions are of the form `["<name>", "<op>", <value>]`, you can also specify complex expressions concatenated with `and|or` as follows:
*
* ```
* [["<name>", "<op>", <value>],"and|or",["<name>","<op>",<value>],...]
* ```
*
* You can set the startup filter configuration by specifying a `f` URL-parameter with a JSON-serialized string as follows:
*
* ```
Expand Down

0 comments on commit b1f62db

Please sign in to comment.