Skip to content
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

[layer-leaflet/maplibre] when resizing keep the same center #1489

Merged
merged 1 commit into from
Nov 25, 2024

Conversation

sim51
Copy link
Collaborator

@sim51 sim51 commented Nov 20, 2024

Description

On graph with a map layer (leaflet or maplibre), when you resize the container with a resize event or programmatically, the center of the map was not kept.

How to test

A story has been added to replicate the behavior. You can click on the "toggle fullscreen" button to see a resize by code, and you can resize your browser to test the resize event

@jacomyal jacomyal merged commit 7d85b82 into main Nov 25, 2024
2 checks passed
@jacomyal jacomyal deleted the bsi/map-layers-resize branch November 25, 2024 10:01
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