GeoCoderGeoCode Method (String, Country, Int32) |
Namespace: Telogis.GeoBase
The geocoder is capable of looking up street intersections when they are specified with the & (ampersand) or @ characters. For example:
18th & placentia, costa mesa18th @ placentia, costa mesaThe address may also contain a latitude longitude pair, for example "34, -117".
Related articles: Geocoding Concept, Map Control Tutorial.
// Geocode an address and country with a maximum of five results returned GeocodeAddress[] addr = GeoCoder.GeoCode("20 Enterprise, Aliso Viejo, California", Country.USA, 5); // Write out the first address in the array Console.WriteLine("Found address {0}", addr[0]); // Prints 'Found address 20 Enterprise, Aliso Viejo, California, 92656, USA'