cameraBehavior property
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.
Note: For supported roads, a lane guidance experience is enabled once VisualNavigator starts rendering if the following conditions are met:
- the camera behavior is set to TransitionCameraBehavior
- one of the map schemes MapScheme.clusterDay, MapScheme.clusterNight, MapScheme.tunnel is loaded
- the user is authorized to use "lane guidance" feature
The lane guidance experience will be disabled when VisualNavigator stops rendering. Gets the currently set camera behavior.
Implementation
CameraBehavior? get 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.
Note: For supported roads, a lane guidance experience is enabled once VisualNavigator starts rendering if the following conditions are met:
- the camera behavior is set to TransitionCameraBehavior
- one of the map schemes MapScheme.clusterDay, MapScheme.clusterNight, MapScheme.tunnel is loaded
- the user is authorized to use "lane guidance" feature
The lane guidance experience will be disabled when VisualNavigator stops rendering. Sets how the VisualNavigator handles the camera.
Implementation
set cameraBehavior(CameraBehavior? value);