setAreaCameraBehaviorVisiblePoints abstract method

void setAreaCameraBehaviorVisiblePoints(
  1. List<GeoCoordinates> points,
  2. bool includeCurrentPosition
)

Configures the Area camera to frame the specified points.

The camera calculates the optimal zoom level and center position to display all provided coordinates within the viewport. Use this for showing a single point of interest or multiple points such as safety cameras.

This function does not change AutomotiveCameraBehavior.activeCameraType. To display the configured area view, set AutomotiveCameraBehavior.activeCameraType to AutomotiveCameraBehaviorActiveCameraType.area.

Calling this function overrides any previously set geographic bounding box configured via AutomotiveCameraBehavior.setAreaCameraBehaviorGeobox.

  • points The list of geographic coordinates to display.

  • includeCurrentPosition When true, the current vehicle position is included in the visible area calculation, ensuring the vehicle remains visible alongside the provided points.

Implementation

void setAreaCameraBehaviorVisiblePoints(List<GeoCoordinates> points, bool includeCurrentPosition);