Skip to content

[Draft] Global state expression #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

Draft
wants to merge 16 commits into
base: main
Choose a base branch
from

Conversation

zbigniewmatysek-tomtom
Copy link
Contributor

global-state expression implementation.

See the style spec update and related issues:
maplibre/maplibre-style-spec#886
#4964

Launch Checklist

  • Confirm your changes do not include backports from Mapbox projects (unless with compliant license) - if you are not sure about this, please ask!
  • Briefly describe the changes in this PR.
  • Link to related issues.
  • Include before/after visuals or gifs if this PR includes visual changes.
  • Write tests for all new functionality.
  • Document any changes to public APIs.
  • Post benchmark scores.
  • Add an entry to CHANGELOG.md under the ## main section.

@zbigniewmatysek-tomtom zbigniewmatysek-tomtom changed the title Global state expression [Draft] Global state expression Mar 12, 2025
"@maplibre/maplibre-gl-style-spec": "^23.1.0",
"@types/geojson": "^7946.0.16",
"@maplibre/maplibre-gl-style-spec": "^23.2.1",
"@types/geojson": "^7946.0.14",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like a bad merge...?


if (this._loaded) {
for (const sourceCache of Object.values(this.style.sourceCaches)) {
sourceCache.reload();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a less expensive way to do it? I haven't seen featureState use the same flow, so is there a different way this can/should be solved?

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

Successfully merging this pull request may close these issues.

2 participants