Hello all.
I have (double) from latitude and longitude.
Now i want show the real adress from this location in the map.
And i must wait for the answer before i can do anything else.
I´ve tried:
I get an error
Fehler 3 Argument "1": Konvertierung von "Telerik.Windows.Controls.Map.ReverseGeocodeRequest" in "Telerik.Windows.Controls.Map.WPFBingGeocodeService.ReverseGeocodeRequest" nicht möglich.
And i don´t know why...
Can anyone help please?
Reinhard
I have (double) from latitude and longitude.
Now i want show the real adress from this location in the map.
And i must wait for the answer before i can do anything else.
I´ve tried:
var reverseGeocodeRequest =
new
ReverseGeocodeRequest();
reverseGeocodeRequest.Location =
new
Location(tt.Latitude,tt.Longitude);
var geocodeService =
new
GeocodeServiceClient();
GeocodeResponse geocodeResponse = geocodeService.ReverseGeocode(reverseGeocodeRequest);
if
(geocodeResponse.Results.Length > 0)
results = geocodeResponse.Results[0].DisplayName;
}
I get an error
Fehler 3 Argument "1": Konvertierung von "Telerik.Windows.Controls.Map.ReverseGeocodeRequest" in "Telerik.Windows.Controls.Map.WPFBingGeocodeService.ReverseGeocodeRequest" nicht möglich.
GeocodeResponse geocodeResponse = geocodeService.ReverseGeocode(reverseGeocodeRequest);
And i don´t know why...
Can anyone help please?
Reinhard