C# SDK

◆ GetCoordinatesFromOffset()

static int GetCoordinatesFromOffset ( out SError  Error,
string  IsoCode,
Int32  RoadOffset,
out LONGPOSITION  Position,
Int32  MaxTime 
)
inlinestatic

Get coordinates of road given by map iso code and offset

Parameters
ErrorAdditional error information returned from Drive.
IsoCodeISO code of map
RoadOffsetRoad offset
PositionCoordinates of road position
MaxTimeMaximum time (in milliseconds) function can take. If MaxTime=0 function execution is not time limited.
Returns
1 if successful, other value otherwise.

Possible error codes returned from Drive are:

  • 0 - Function not succeeded.
  • 1 - Function succeeded.
  • 2 - Drive not succeeded.
  • 3 - Function reached timeout.



References LONGPOSITION.SizeOf(), and SError.SizeOf().