tiltAngle property
Get the tilt angle in degrees.
The tilt angle equals 90 - viewAngle. A value of 90 represents a top-down view.
Returns
The tilt angle in degrees as a double.
See also:
Implementation
double get tiltAngle {
final OperationResult resultString = objectMethod(
_pointerId,
'MapViewPreferences',
'getTiltAngle',
dependencyId: _mapPointerId,
);
return resultString['result'];
}
Set the tilt angle in degrees.
This is a convenience setter that calls setTiltAngle with the provided value.
The tilt angle equals 90 - viewAngle.
Parameters
tiltAngle: The tilt angle in degrees.
See also:
- mapAngle - The map's rotation angle.
Implementation
set tiltAngle(final double tiltAngle) => setTiltAngle(tiltAngle);