Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Box Selection on Map #6078

Closed
1 of 6 tasks
tdipisa opened this issue Oct 22, 2020 · 0 comments
Closed
1 of 6 tasks

Box Selection on Map #6078

tdipisa opened this issue Oct 22, 2020 · 0 comments

Comments

@tdipisa
Copy link
Member

tdipisa commented Oct 22, 2020

Description

The filtering on map will be extended with the following:
- Click 'n' drag: box selection of multiple features

At the moment using the "filter on map" tool the user can select only one feature by clicking on map and the attribute table is filtered accordingly (this happens both in vew and edit mode of the attribute table). There should be the possibility to perform selection of multiple features in map by drawing a selection area, the attribute table will be filtered in the same way (in both vew and edit mode as it is now).

fg_selection_box

What kind of improvement you want to add? (check one with "x", remove the others)

  • Minor changes to existing features
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe: improvement on an existing feature

Other useful information

The user guide related to the attribute table component is available here.

We can consider using this example to support drag box selection.
https://openlayers.org/en/latest/examples/box-selection.html
And perform a query to select the results on WFS with the selected rectangle as filter to get the results and select the features

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants