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.
The tilt angle equals 90 - viewAngle.
Parameters
tiltAngle: The tilt angle in degrees.
See also:
Implementation
set tiltAngle(final double tiltAngle) {
objectMethod(
_pointerId,
'MapViewPreferences',
'setTiltAngle',
args: tiltAngle,
dependencyId: _mapPointerId,
);
}