Skip to content

Set rendererer ready properly#261

Open
oterral wants to merge 16 commits intogeoblocks:masterfrom
oterral:olivier/rendercomplete
Open

Set rendererer ready properly#261
oterral wants to merge 16 commits intogeoblocks:masterfrom
oterral:olivier/rendercomplete

Conversation

@oterral
Copy link
Copy Markdown
Contributor

@oterral oterral commented Jan 30, 2025

Some map events (like 'rendercomplete') are never triggered because the renderer is never set as ready.

It's a variant of #258.

Instead of using the load event we use the idle which is a more reliable event because it is triggered on each moveend/zoomend or when you programmatically change the maplibre style layers .

This PR also contains fixes :

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.

1 participant