driveSide property
Drive side for the current road.
Indicates whether traffic drives on the left or right side of the road for the current location. Essential for rendering correct lane guidance and turn icons.
Returns
- (DriveSide) The drive side (left or right) for the current road.
Implementation
DriveSide get driveSide {
final OperationResult resultString = objectMethod(
pointerId,
'NavigationInstruction',
'getDriveSide',
);
return DriveSideExtension.fromId(resultString['result']);
}