BingGeocodeDataProvider.RequestLocationInformation(GeoPoint, Object) Method
Sends a request to obtain information about the specified location.
Namespace: DevExpress.Xpf.Map
Assembly: DevExpress.Xpf.Map.v24.2.dll
NuGet Package: DevExpress.Wpf.Map
Declaration
Parameters
Name | Type | Description |
---|---|---|
location | GeoPoint | A GeoPoint object specifying the location about which to request information. |
userState | Object | A Object specifying a user state. |
Example
This example shows how to call the BingGeocodeDataProvider.RequestLocationInformation method to get information about a geographical point on a map.
GeoPoint location = new GeoPoint(40, -120);
public GeoPoint Location {
get { return location; }
set { location = value;}
}
private void requestLocation_Click(object sender, RoutedEventArgs e) {
geocodeProvider.RequestLocationInformation(Location, null);
}
See Also