tiltRange property

AngleRange tiltRange

The tilt range that can be applied to the camera. Gets the current tilt range.

By default, a MapCameraLimits.minTilt-MapCameraLimits.maxTilt tilt range is set during initialization.

This range might not be yet active if no rendering loop has been executed since the last call to set the range.

Implementation

AngleRange get tiltRange;
void tiltRange=(AngleRange value)

The tilt range that can be applied to the camera. Sets a new tilt limit range.

The supported values fall inside MapCameraLimits.minTilt-MapCameraLimits.maxTilt range. Values outside the supported range are ignored.

If the current camera tilt exceeds the new limit range, it will immediately be set to minimum or maximum, depending on which is closest.

This new limit range becomes active during the next rendering loop.

All previously set tilt ranges are cleared and the new tilt range is applied for all zoom values.

Implementation

set tiltRange(AngleRange value);