-
-
Notifications
You must be signed in to change notification settings - Fork 833
global-state expression support in filter and paint properties #5613
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
Conversation
…obal-state-expression
…obal-state-expression
@HarelM feel free to kill me afterwards - I missed one type in the spec: maplibre/maplibre-style-spec#1130 😅 Codecov was failing because fork main was out of sync with base, I will try to keep it in sync now. |
If I'll kill you, it will be hard to push this feature forward 😛 |
Doesn't look like codecov approved the merge from main, not sure I know how to solve this... It probably requires some git magic... |
I propose to solve codecov issue separately, I see that it's failing for most open PRs, also those with passed CI. https://app.codecov.io/gh/maplibre/maplibre-gl-js/pulls?prStates%5B0%5D=OPEN Apart from that, everything else is passing. Spec release is not strictly necessary, I've added |
Most PRs have code coverage, checkout the closed ones. If there will be a need to later on remove the |
Also there are still two open comments to resolve before this can be merged: |
I created new PR with squashed content of this one: At least patch report was generated: https://app.codecov.io/gh/maplibre/maplibre-gl-js/commit/12ee82f5d0e988986406406fdab2ddc9d7f44fb2 |
I've opened a bug and linked it to the above PR, let's see what codecov team will say. |
…obal-state-expression
Thanks for looking into this! |
Can you resolve conflicts please? I'll merge this afterwards. |
Ok, one last question: are |
…obal-state-expression
…libre-gl-js into global-state-expression
@HarelM I ensured both methods have 100% coverage: |
This PR adds a new map methods:
setGlobalStateProperty()
andgetGlobalState()
leveraging the newglobal-state
expression.Out of the scope:
global-expression
in layout properties (setGlobalStateProperty()
will have no effect on those).See the style spec update (needs to be merged first) and related issues:
maplibre/maplibre-style-spec#886
#4964
See example:
Launch Checklist
CHANGELOG.md
under the## main
section.