Hallo,
wie lautet die richtige Syntax für die Funktion
Location1.DistanceTo("48:44.28", "9:18.30") bzw.
Location1.BearingTo("48:44.28", "9:18.30") ???
wie kann man den Altitude-Wert bekommen
Location1.Altitude ???
Hier ist die Codesequenz aus dem GPS-Tutorial:
Sub GPS_LocationChanged (Location1 As Location)
lblLat.Text = "Lat = " & Location1.ConvertToMinutes(Location1.Latitude)
lblLon.Text = "Lon = " & Location1.ConvertToMinutes(Location1.Longitude)
lblSpeed.Text = "Speed = " & Location1.Speed
lblAltitude.Text = "Altitude = " & Location1.Altitude
lblDistance.Text = "Distance = " & Location1.DistanceTo("48:44.28", "9:18.30")
lblBearing.Text = "Bearing = " & Location1.BearingTo("48:44.28", "9:18.30")
End Sub
Für einen Tipp wäre ich sehr dankbar.
Grüße
wie lautet die richtige Syntax für die Funktion
Location1.DistanceTo("48:44.28", "9:18.30") bzw.
Location1.BearingTo("48:44.28", "9:18.30") ???
wie kann man den Altitude-Wert bekommen
Location1.Altitude ???
Hier ist die Codesequenz aus dem GPS-Tutorial:
Sub GPS_LocationChanged (Location1 As Location)
lblLat.Text = "Lat = " & Location1.ConvertToMinutes(Location1.Latitude)
lblLon.Text = "Lon = " & Location1.ConvertToMinutes(Location1.Longitude)
lblSpeed.Text = "Speed = " & Location1.Speed
lblAltitude.Text = "Altitude = " & Location1.Altitude
lblDistance.Text = "Distance = " & Location1.DistanceTo("48:44.28", "9:18.30")
lblBearing.Text = "Bearing = " & Location1.BearingTo("48:44.28", "9:18.30")
End Sub
Für einen Tipp wäre ich sehr dankbar.
Grüße