Skip to content

Camera movement #5

Open
Open
@kar1981

Description

@kar1981

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions