Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

public void RequestLocationInformation(
    GeoPoint location,
    object userState
)

#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