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

Camera movement #5

Open
kar1981 opened this issue Feb 16, 2021 · 0 comments
Open

Camera movement #5

kar1981 opened this issue Feb 16, 2021 · 0 comments

Comments

@kar1981
Copy link

kar1981 commented Feb 16, 2021

Could you please help me understand how to move the camera to center on a marker? I have tried to move the camera using KakaoMapController.moveCamera and KakaoMapController.animateCamera, neither of which actually moved the camera.

eg:

CameraPosition newPosition = const CameraPosition(
              target: MapPoint(37.5087553, 127.0632877),
              zoom: 5,
            );

_controller.moveCamera(CameraUpdate.newCameraPosition(newPosition));

zooming doesn't seem to work either

_controller.animateCamera(CameraUpdate.zoomTo(10));

Thanks for your help

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

No branches or pull requests

1 participant