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(fit): allow custom zoom level limits #1134

Merged
merged 2 commits into from
Oct 25, 2020
Merged

feat(fit): allow custom zoom level limits #1134

merged 2 commits into from
Oct 25, 2020

Conversation

Thomaash
Copy link
Member

They are optional and default to the same values as before (that is no breaking change), they are limited to values above 0 (zero would lead to infinities, NaNs etc. and I have no idea what negative zoom should mean) and max can't be lower than min. There's visual regression test included.

Closes #1114.

They are optional and default to the same values as before (that is no
breaking change), they are limited to values above 0 (zero would lead to
infinities, NaNs etc. and I have no idea what negative zoom should mean)
and max can't be lower than min. There's visual regression test
included.
@Thomaash Thomaash requested a review from a team October 25, 2020 16:09
@yotamberk
Copy link
Member

does this solve #629 too?

@Thomaash
Copy link
Member Author

does this solve #629 too?

Nope, this applies only to the fit method.

@Thomaash Thomaash merged commit ca04f50 into master Oct 25, 2020
@Thomaash Thomaash deleted the issue1114 branch October 25, 2020 16:28
@vis-bot
Copy link
Collaborator

vis-bot commented Oct 25, 2020

🎉 This PR is included in version 8.5.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Is there no way to give an initial scale value to the Network?
3 participants