turnImg property
Img
get
turnImg
Vector image representation of the turn symbol as an Img.
Prefer Img when you need SDK-managed metadata (uid, recommended size/aspectRatio, scalability) or to request raw image bytes; use getTurnImage when you only need raw image bytes.
Returns
- Img: vector image for the turn, or an empty/invalid image object when not available.
Implementation
Img get turnImg {
final OperationResult resultString = objectMethod(
pointerId,
'RouteInstructionBase',
'getTurnImg',
);
return Img.init(resultString['result']);
}