Click or drag to resize

GoogleMapServiceReverseGeocode Method (Decimal, Decimal, 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 GeoAddress ReverseGeocode(
	decimal latitude,
	decimal longitude,
	string locationType = null
)

Parameters

latitude
Type: SystemDecimal
The latitude.
longitude
Type: SystemDecimal
The longitude.
locationType (Optional)
Type: SystemString
The optional location type.

Return Value

Type: GeoAddress
The address, if found, else null.
See Also