Home > @magiclane/maps-sdk > RouteInstructionBase > getRoadInfoImage
RouteInstructionBase.getRoadInfoImage() method
Get road image.
Signature:
getRoadInfoImage(input: {
size?: Size;
format?: ImageFileFormat;
backgroundColor?: Color;
allowResize?: boolean;
}): Uint8Array | null;Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
{ size, format, backgroundColor, allowResize, } |
(not declared) | |
|
input |
{ size?: Size; format?: ImageFileFormat; backgroundColor?: Color; allowResize?: boolean; } |
input properties:
Returns:
Uint8Array | null
RoadInfo Image or null
Exceptions
An exception if it fails.