CameraPosition padding doesn't seem to work #409
Unanswered
jg-develop
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Which platform(s) have you tried this on? Did you see the same result? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to move the camera position, but using the padding value. However, no matter what value I set for the padding, it makes no difference. It's as though it is ignored by the underlying library code? The following code:
camera.animateTo( CameraPosition( target = Position(latitude = coordinates.latitude, longitude = coordinates.longitude), zoom = camera.position.zoom, padding = pad ))
Animates to exactly the same view as:
camera.animateTo( CameraPosition( target = Position(latitude = coordinates.latitude, longitude = coordinates.longitude), zoom = camera.position.zoom ))
Beta Was this translation helpful? Give feedback.
All reactions