GeocodeReverseGeocode Method (Double, Double, String) |
Uses the GoogleMaps API to reverse-geocode the specified latitude and longitude and returns the corresponding address information.
For a particular latitude/longitude this can vary depending on the locationType specified.
Examples of location types include street_address, establishment, light_rail_station, point_of_interest, transit_station as well as many others.
When performing the reverse-geocode, an attempt is made to find the address for the locationType if one is specified.
If none is specified, or no address is found for the that locationType, then a second attempt is made to find any address
for the specified coordinates.
Namespace:
NetQuarry.GoogleGeocoder
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static GeoAddress ReverseGeocode(
double latitude,
double longitude,
string locationType = null
)
Public Shared Function ReverseGeocode (
latitude As Double,
longitude As Double,
Optional locationType As String = Nothing
) As GeoAddress
Parameters
- latitude
- Type: SystemDouble
The latitude. - longitude
- Type: SystemDouble
The longitude. - locationType (Optional)
- Type: SystemString
The optional location type.
Return Value
Type:
GeoAddressThe address, if found, else null.
See Also