Locates a specific point based on the address.
| C# | Visual Basic |
public GeocodeInfo Geocode( string city, string street )
Public Function Geocode ( _ city As String, _ street As String _ ) As GeocodeInfo
A GeocodeInfo structure
Find the location specified by an address, given in the city name, street name and house number arguments,
and return the co-ordinates of the found location and its complete city and street names in the geocode information argument.
If the street name argument is empty, the int will try to find the center of the city specified by the city name argument.
The house number is always ignored in versions of TomTom Navigator prior to 2.0.
If no location is found with city and street names exactly matching the arguments,
then a city and a street will be chosen with names as similar as possible to the given ones.
This will be indicated in the status field of the geocode information argument.