getNextNextTurnImage method
- Size? size,
- ImageFileFormat? format,
Simplified schematic image for the turn after the next one.
Returns a simplified turn icon for the second upcoming maneuver. For a
detailed geometry image, use nextNextTurnDetails.abstractGeometryImg.
Returns null if unavailable. Always check hasNextNextTurnInfo first.
Parameters
size: (Size?) Desired image dimensions.format: (ImageFileFormat?) Image format (PNG, JPEG, etc.).
Returns
- (Uint8List?) Turn image data, or null if not available.
See also:
- nextNextTurnDetails - Full details including detailed geometry.
- getNextTurnImage - Image for the immediate next turn.
Implementation
Uint8List? getNextNextTurnImage({
final Size? size,
final ImageFileFormat? format,
}) {
return GemKitPlatform.instance.callGetImage(
pointerId,
'NavigationInstructionGetNextNextTurnImage',
size?.width.toInt() ?? -1,
size?.height.toInt() ?? -1,
format?.id ?? -1,
);
}