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

feat: zoom to map content on dashboard item resize #3440

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

BRaimbault
Copy link
Collaborator

@BRaimbault BRaimbault commented Jan 9, 2025

Implement: DHIS2-18641


Listen to 'resize' event on window and use map.fitBounds() when triggered.


Before:
image

After:
image

@dhis2-bot
Copy link
Contributor

dhis2-bot commented Jan 9, 2025

🚀 Deployed on https://pr-3440.maps.netlify.dhis2.org

@dhis2-bot dhis2-bot temporarily deployed to netlify January 9, 2025 16:20 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify January 9, 2025 16:31 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify January 9, 2025 17:00 Inactive
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