Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The panel to include in the client to allow the user to alter the filters has the id weave.layerFilter.

The client UI for the filtering contains a couple of new controls that were not previously available with other input forms, the slider and multi-slider. These controls are useful for layer filtering because they provide an easier way to constrain a numeric value to a certain range but they’re also different in that they force a value to have to be chosen, that is a filter the uses a slider for a value will always have that value applied when displaying the layer, which can be important when the table behind the layer contains a number of “sets” of data but only one should be displayed at a time, and the column behind the parameter is used to separate out the data into the various sets, for example, this could be the year when the data in the table was generated and the user would only want to see a single year at a time, or for a layer with flood levels and you only want to show a single depth.

Current limitations

There can be only one filter associated with a particular map layer, this is unlikely to change.

...