This question is locked. New answers and comments are not allowed.
Hi there,
Hopefully a simple question.
I am getting the results of a geocode query back successfully, i.e. it appears to have a valid Long+Lat, but I cant seem to center the map on that location (and preferably zoom). Do I need to do more than this?:
Many Thanks
Hopefully a simple question.
I am getting the results of a geocode query back successfully, i.e. it appears to have a valid Long+Lat, but I cant seem to center the map on that location (and preferably zoom). Do I need to do more than this?:
private void geoProvider_GeocodeCompleted(object sender, GeocodeCompletedEventArgs e)
{
if (e.Response.Results != null && e.Response.Results.Count > 0)
{
Telerik.Windows.Controls.Map.Location location = e.Response.Results[0].Locations[0];
radMap1.Center = location;
}
}
Many Thanks