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

[map] Support buffer for zoom geometries #392

Open
3 tasks done
mbeckem opened this issue Feb 7, 2025 · 0 comments
Open
3 tasks done

[map] Support buffer for zoom geometries #392

mbeckem opened this issue Feb 7, 2025 · 0 comments
Labels
enhancement New feature or request good first issue A simple feature that can easily be implemented by new contributors.

Comments

@mbeckem
Copy link
Contributor

mbeckem commented Feb 7, 2025

Issue description

mapModel.zoom (and highlightAndZoom) should support a buffer parameter.

If the zoom geometry resolves to an extent (not a point), then that extent should be grown by the given buffer.
This is a quick and easy way to leave a certain amount of free space in all directions (e.g. 10%).

Links:

Validations

@mbeckem mbeckem added enhancement New feature or request good first issue A simple feature that can easily be implemented by new contributors. labels Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue A simple feature that can easily be implemented by new contributors.
Projects
None yet
Development

No branches or pull requests

1 participant