private void StartSearch() { BingRestSearchLocationRequest request = new BingRestSearchLocationRequest(); request.Query = this.textInput.Text; this.bingProvider.SearchLocationAsync(request); }
private void radMap_MapMouseDoubleClick(object sender, MapMouseRoutedEventArgs e) { // Search Address by Location. Reversed geocode. BingRestSearchLocationRequest reverseRequest = new BingRestSearchLocationRequest(); reverseRequest.Query = e.Location.ToString(); this.restProvider.SearchLocationAsync(reverseRequest); }
private void GeocodeButton_Click(object sender, RoutedEventArgs e) { // Search Location by string Query. Geocode. BingRestSearchLocationRequest request = new BingRestSearchLocationRequest(); request.Query = this.InputBox.Text; this.restProvider.SearchLocationAsync(request); }