Skip to content

Move "center" downwards? #1098

Answered by devemux86
moving-bits asked this question in Q&A
Discussion options

You must be logged in to vote

This can be adjusted with map().viewport().setMapViewCenterY(float).

"Set pivot vertical relative to view center in [-1, 1].
e.g. pivotY 0.5 is usually preferred for navigation, moving center to 25% of view height."

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@moving-bits
Comment options

Answer selected by moving-bits
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants