@blackary the solution you proposed in #154 to change the widget key works, but it triggers a widget reloading (map quickly disappearing and appearing again). This can be avoided by using setView instead of manually setting the zoom and the center separately (see leafleat issue 170.
I couldn't add tests since (to the best of my knowledge) playwright doesn't allow to interact with the map (change center and zoom). But you can test it on your side with the same sample code as in #154 and it works fine.
Fixes #154.
@blackary the solution you proposed in #154 to change the widget key works, but it triggers a widget reloading (map quickly disappearing and appearing again). This can be avoided by using setView instead of manually setting the zoom and the center separately (see leafleat issue 170.
I couldn't add tests since (to the best of my knowledge) playwright doesn't allow to interact with the map (change center and zoom). But you can test it on your side with the same sample code as in #154 and it works fine.
Tests were passing on my side.