Untitled Document
CApplicationAPI.GetLocationInfo Method (SError, LONGPOSITION, String, SRoadInfo, Int32)
GPS NAVIGATION SDK
version 8.3 build 47035

This overloaded function returns address and road information corresponding to given location.

public static int GetLocationInfo(
   out SError Error,
   LONGPOSITION Location,
   out string strAddress,
   out SRoadInfo RoadInfo,
   int MaxTime
);

Parameters

Error
Additional error information returned from Drive.
Location
Location for which we want to search for address.
strAddress
Found address in format: "ISO,city,street,house number"
RoadInfo
Class containing information about the road on that position.
MaxTime
Maximum of time (in milliseconds) function can take. If MaxTime=0 function execution is not time limited.

Return Value

1 if successful, other value otherwise.

Remarks


Parameter strIsoCode is official ISO code of the country. The list of ISO codes can be found at http://userpage.chemie.fu-berlin.de/diverse/doc/ISO_3166.html. ISO code of United States of America consists of character "U" plus code of state. E.g New York has ISO code UNY.

See Coordinates conversion section in TROUBLESHOOTING page.

Possible error codes returned from Drive are:

See Also

CApplicationAPI Class | ApplicationAPI Namespace | CApplicationAPI.GetLocationInfo Overload List