lockCameraToBuilding property

bool? lockCameraToBuilding
final

When set to true, the camera will be locked to the building so the user can't move it away. Also the minimum zoom will be set to an internally calculated value so the building remains visible when the user does zoom out.

Default is false.

Implementation

final bool? lockCameraToBuilding;