cameraBehavior property

CameraBehavior? cameraBehavior

Camera behavior which defines how the VisualNavigator handles the camera. Setting null disables any camera behavior with the result that the camera does not follow the current location and keeps the last active camera state, i.e., current zoom and tilt. Furthermore, when null is set map gestures can be used again to freely pan and zoom the map. In opposition, when a camera behavior is defined, then the map cannot be panned and zoomed by the user. The default value is an instance of FixedCameraBehavior. Gets the currently set camera behavior.

Implementation

CameraBehavior? get cameraBehavior;
void cameraBehavior=(CameraBehavior? value)

Camera behavior which defines how the VisualNavigator handles the camera. Setting null disables any camera behavior with the result that the camera does not follow the current location and keeps the last active camera state, i.e., current zoom and tilt. Furthermore, when null is set map gestures can be used again to freely pan and zoom the map. In opposition, when a camera behavior is defined, then the map cannot be panned and zoomed by the user. The default value is an instance of FixedCameraBehavior. Sets how the VisualNavigator handles the camera.

Implementation

set cameraBehavior(CameraBehavior? value);