Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Calling the TerraService Web Service - Day 4 - Part 7
Jan 13, 2011 at 3:17 PMand myWatcher.Start();
Calling the TerraService Web Service - Day 4 - Part 7
Jan 13, 2011 at 2:50 PMI got it to work. I needed to have
Calling the TerraService Web Service - Day 4 - Part 7
Jan 12, 2011 at 6:42 AMI always get stuck on this. I always get those errors, and the one time that I didn't, I was unable to properly get my location.
I live in London Canada, and when I got to msrmaps.com, only the states are green. Does this mean that the terra service will not be able to tell me where I am in Canada? If not, is there another service that will work in Canada?
GPS, Location API and Calling Web Services - Day 3 - Part 10
Dec 17, 2010 at 10:51 AM@spier: Don't know how I missed yours, but that worked. But now my latitude and longitude are not changing
help?
private void button1_Click(object sender, RoutedEventArgs e) { GeoCoordinateWatcher myWatcher = new GeoCoordinateWatcher(); GeoCoordinate myPosition = myWatcher.Position.Location; double latitude = 0.0; double longitude = 0.0; if (!myPosition.IsUnknown) { latitude = myPosition.Latitude; longitude = myPosition.Longitude; } textBlock2.Text = latitude + ":" + longitude; myTerraService.TerraServiceSoapClient client = new myTerraService.TerraServiceSoapClient(); client.ConvertLonLatPtToNearestPlaceCompleted += new EventHandler<myTerraService.ConvertLonLatPtToNearestPlaceCompletedEventArgs>(client_ConvertLonLatPtToNearestPlaceCompleted); client.ConvertLonLatPtToNearestPlaceAsync(new myTerraService.LonLatPt { Lat = latitude, Lon = longitude }); } void client_ConvertLonLatPtToNearestPlaceCompleted(object sender, myTerraService.ConvertLonLatPtToNearestPlaceCompletedEventArgs e) { textBlock1.Text = e.Result; // throw new NotImplementedException(); }