roadInfoImg property
RoadInfoImg
get
roadInfoImg
Get the signpost image as a RoadInfoImg.
Prefer RoadInfoImg when you need SDK-managed metadata (uid, recommended size/aspectRatio, scalability) or to request raw image bytes; use getRoadInfoImage when you only need the raster image bytes.
Returns
- RoadInfoImg: vector image object associated with the road information.
See also:
- getRoadInfoImage - retrieve the road info as a raster image.
- hasRoadInfo - check if road information is available.
Implementation
RoadInfoImg get roadInfoImg {
final OperationResult resultString = objectMethod(
pointerId,
'RouteInstructionBase',
'getRoadInfoImg',
);
return RoadInfoImg.init(resultString['result']);
}