setBearingRangeAtZoom method - MapCameraLimits class - mapview library - Dart API
setBearingRangeAtZoom
setBearingRangeAtZoom abstract method
- MapMeasure zoom,
- AngleRange bearingRange
Sets the bearing range within which the camera can rotate at a given zoom.
The resulting camera bearing at a zoom is an interpolated value of the ranges set for closest matching zoom values. When no bearing range is specified for MapCameraLimits.minZoomLevel, the bearing range set through MapCameraLimits.bearingRange is used for interpolation.
Zoom values outside the supported zoom range are ignored. By default, the maximum bearing range for all zoom values is set during initialization.
-
zoomZoom at which the range is set. -
bearingRangeBearing range.
Implementation
void setBearingRangeAtZoom(MapMeasure zoom, AngleRange bearingRange);