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

Interactive legend for TOC layers [Vector Layer part] #10737

Open
mahmoudadel54 opened this issue Jan 7, 2025 · 0 comments
Open

Interactive legend for TOC layers [Vector Layer part] #10737

mahmoudadel54 opened this issue Jan 7, 2025 · 0 comments
Assignees
Labels
New Feature used for new functionalities
Milestone

Comments

@mahmoudadel54
Copy link
Contributor

mahmoudadel54 commented Jan 7, 2025

Description

Vector layers do not have the concept of filtering.
These could be the needed tasks:

  • Design of the filtering workflow that could be an adaptation of the existing layer filter configuration of WMS/WFS layers
  • Add interactivity to the Vector Legend
  • For any change to the style it is requested to follow the same behavior implemented with #10236 (see also #10684: Legend filtering for GeoServer WMS layers #10718 (comment)) that for this issue concerns only in the following scenarios:

This is a summary of the expected implmentaion steps:

1- For the UI part:

  • handle adding checkbox in layer settings in TOC for enabling/disabling interactive legend [the part in layer settings in TOC --> common with WFS]
  • handle the same behaviour in WMS of hovering effect on the legend items if classified on TOC and select effect as well [Add interactivity to the Vector Legend] --> common with WFS

2- For the logic:

  • Now user can create a style includes rules [classification for example] which is on geostyler format
  • The filter implementation will use an existing approach of filtering vector layer features based on geostyler expression so it can be user when user clicks on legend item to implement filter process (This should be done inside the specific VectorLayer implementation where possible)
  • change in style/disable interactive legend from layer settings

Other useful information

@mahmoudadel54 mahmoudadel54 added the New Feature used for new functionalities label Jan 7, 2025
@mahmoudadel54 mahmoudadel54 self-assigned this Jan 7, 2025
@tdipisa tdipisa added this to the 2025.01.00 milestone Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New Feature used for new functionalities
Projects
None yet
Development

No branches or pull requests

2 participants