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

Fix: document map image bounds #699

Merged
merged 2 commits into from
Dec 11, 2024
Merged

Conversation

rudivanhierden
Copy link
Contributor

This pull request includes changes to the DocumentMap component in packages/document-map/src/document-map.tsx to improve the handling of image bounds and error handling.

Improvements to image bounds handling:

Error handling enhancements:

  • packages/document-map/src/document-map.tsx: Added a try-catch block around the map.fitBounds method to log errors to the console, ensuring that any issues during map fitting are captured and do not disrupt the application.

@rudivanhierden rudivanhierden merged commit fcd72fc into develop Dec 11, 2024
6 checks passed
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