Skip to content

Fix addSource condition #2524

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

Merged
merged 2 commits into from
Apr 9, 2025
Merged

Fix addSource condition #2524

merged 2 commits into from
Apr 9, 2025

Conversation

Pessimistress
Copy link
Collaborator

For #2520

Fallout from #2493 - see inline comments

Comment on lines +133 to +134
map.on('sourcedata', forceUpdate);
return () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

These three events are not very intuitive. Not much we can do

@Pessimistress Pessimistress merged commit 19e778b into master Apr 9, 2025
2 checks passed
@Pessimistress Pessimistress deleted the x/source-condition branch April 9, 2025 17:24
Pessimistress added a commit that referenced this pull request Apr 9, 2025
Pessimistress added a commit that referenced this pull request Apr 14, 2025
Pessimistress added a commit that referenced this pull request Apr 16, 2025
* Revert "Fix addSource condition (#2524)"

This reverts commit 19e778b.

* Revert "Fix source loading condition (#2513)"

This reverts commit 3673af7.

* Revert "Fix style loading check on Source layers (#2377) (#2493)"

This reverts commit f9cd7b5.
Pessimistress added a commit that referenced this pull request Apr 16, 2025
* Revert "Fix addSource condition (#2524)"

This reverts commit 19e778b.

* Revert "Fix source loading condition (#2513)"

This reverts commit 3673af7.

* Revert "Fix style loading check on Source layers (#2377) (#2493)"

This reverts commit f9cd7b5.
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