mapAngle property
Get the map's angle in degrees.
The angle is between 0 and 360 degrees, where 0 represents north-up alignment.
Returns
The map angle in degrees as a double.
See also:
Implementation
double get mapAngle {
final OperationResult resultString = objectMethod(
_pointerId,
'MapViewPreferences',
'getRotationAngle',
dependencyId: _mapPointerId,
);
return resultString['result'];
}
Set the map's angle in degrees.
This is a convenience setter that calls setMapAngle with the provided value. The angle must be between 0 and 360 degrees, where 0 represents north-up alignment.
Parameters
angle: The map angle in degrees (0..360).
See also:
- setMapAngle - Set the map angle
Implementation
set mapAngle(final double angle) {
setMapAngle(angle);
}