Freigeben über


UnitConverters.CoordinatesToKilometers(Double, Double, Double, Double) Methode

Definition

Berechnet den Abstand zwischen zwei Koordinaten in Kilometern.

public:
 static double CoordinatesToKilometers(double lat1, double lon1, double lat2, double lon2);
public static double CoordinatesToKilometers (double lat1, double lon1, double lat2, double lon2);
static member CoordinatesToKilometers : double * double * double * double -> double
Public Shared Function CoordinatesToKilometers (lat1 As Double, lon1 As Double, lat2 As Double, lon2 As Double) As Double

Parameter

lat1
Double

Erster Breitengrad.

lon1
Double

Erster Längengrad.

lat2
Double

Zweiter Breitengrad.

lon2
Double

Zweiter Längengrad.

Gibt zurück

Die Entfernung in Kilometern.

Gilt für: