Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This adds a
moveToCenter
api method, as described in #165.Btw, I have thought about your "recipes" idea, and - while I fully support this idea - I think, better than only writing a tutorial, is to write code in
ZoomLayout
, that actually implements these ideas, create a write-up of what the initial goal was, what the problems are and explain how the code works with a link to the actualZoomLayout
implementation (I mean the library here, not the class). That way the written code is always up to date, tested by actualZoomLayout
users, and migrated along the way as the library progresses. That way it can be used both as a functional API interface by users, as well as the code for a tutorial. Of course it has to be evaluated if a problem is worth including in the library, which is a fine.