getRealisticNextTurnImage method
- Size? size,
- ImageFileFormat? format,
- AbstractGeometryImageRenderSettings renderSettings = const AbstractGeometryImageRenderSettings(),
Get image for the realistic turn information.
Parameters
- IN size Size of the image.
- IN format Format of the image.
- IN renderSettings Render settings for the image
Returns
- The image for the realistic next turn. The API user is responsible to check if the image is valid.
Throws
- An exception if it fails.
Implementation
Uint8List? getRealisticNextTurnImage({
final Size? size,
final ImageFileFormat? format,
final AbstractGeometryImageRenderSettings renderSettings =
const AbstractGeometryImageRenderSettings(),
}) {
return GemKitPlatform.instance.callGetImage(
pointerId,
'RouteInstructionGetRealisticNextTurnImage',
size?.width.toInt() ?? -1,
size?.height.toInt() ?? -1,
format?.id ?? -1,
arg: jsonEncode(renderSettings),
);
}