Skip to main content

How to: Create a Custom Geocode Panel

  • 2 minutes to read

To implement a custom geocode panel do the following.


If you run the application, and see a window with the following error message: ”The specified Bing Maps key is invalid. To create a developer account, refer to”, refer to the following tutorial: How to: Get a Bing Maps Key.

View Example

public GeoPoint GeocodeTarget { get; private set; }

public MainWindow() {
    GeocodeTarget = new GeoPoint();
    DataContext = GeocodeTarget;

private void Button_Click(object sender, RoutedEventArgs e) {
    geocodeProvider.RequestLocationInformation(GeocodeTarget, null);
See Also