Functions How-to and FAQ
How to set navigation to some place?
There are 3 different functions for this. We advise to convert the address to GPS coordinates first with the function LocationFromAddress. Then to use the function StartNavigation, or to create an itinerary with function Additinerary and then use function SetRoute.
How to search address in map?
As the address that you are searching may be in different format than in our map, or it may be abbreviated, it is necessary to search it with FUZZY search to find closest match. This can be achieved with function LocationFromAddress.
How to get ETA?
The function GetRouteInfo returns SRouteInfo class that has function GetEstimatedTimeArival.
How to get current navigation destination?
To get the current destination, use the function GetItineraryList using the itinerary name "default". The last SStopOffPoint from the returned array is the destination.
How to run the navigation inside my application window?
Please, see the example DriveAsControlExample from the SDK folder.
How to activate the licenses?
As first, it is necessary to collect the IDs of the devices or SD cards for activation. The IDs can be obtained from the GetUniqueDeviceId function
|