mapAngle property
The map's angle in degrees. Is between 0 and 360 degrees, where 0 represents north-up alignment.
Returns
- The map angle
Implementation
double get mapAngle {
final OperationResult resultString = objectMethod(
_pointerId,
'MapViewPreferences',
'getRotationAngle',
dependencyId: _mapPointerId,
);
return resultString['result'];
}
The map's angle in degrees. Must be between 0 and 360 degrees, where 0 represents north.
Parameters
- IN angle The map angle in degrees.
Implementation
set mapAngle(final double angle) {
objectMethod(
_pointerId,
'MapViewPreferences',
'setRotationAngle',
args: angle,
dependencyId: _mapPointerId,
);
}