-
Notifications
You must be signed in to change notification settings - Fork 416
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
#10737: Interactive legend for TOC layers [Vector Layer part] #10798
#10737: Interactive legend for TOC layers [Vector Layer part] #10798
Conversation
…r part] Description: - handle adding checkbox in layer settings in TOC for enabling/disabling interactive legend for vector layer - handle the same behaviour in WFS/WMS of hovering effect on the legend items if classified on TOC and select effect - Add interactivity to the Vector Legend for the vector layer in cesium, openalayers and leaflet - add unit tests
@mahmoudadel54 please solve also the conflicts with master branch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mahmoudadel54 I see failing checks on unit tests here. Please check asap.
@tdipisa @mahmoudadel54 already fixed |
@ElenaGallo please test this enhancement on dev, thanks |
Ok, thank you. I'm sorry for the overlap @allyoucanmap |
Description
This PR handled adding the interactivity to the Vector Legend for the vector layer in cesium, openalayers and leaflet. It includes:
Please check if the PR fulfills these requirements
What kind of change does this PR introduce? (check one with "x", remove the others)
Issue
#10737
What is the current behavior?
#10737
What is the new behavior?
Now user can interact with the vector legend for vector layers if it is enabled by user from TOC.
recording.14.mp4
Breaking change
Does this PR introduce a breaking change? (check one with "x", remove the other)
Other useful information
To test it, you should add
"miscSettings": { "experimentalInteractiveLegend": true},
to localConfigTo test functionality for leaflet maps, you should change this:
MapStore2/web/client/utils/MapTypeUtils.js
Line 30 in 490d96d
to
desktop: MapLibraries.LEAFLET