Skip to content

Conversation

@oterral
Copy link
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 .

Problem of this PR is that the idle event is not triggered because of the swissotpo style see maplibre/maplibre-gl-js#5430

But using a good style it works as expected. So I replace the swisstopo style by the OpenFreeMap style.

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