Click or drag to resize
Cimbalino ToolkitLocationServicePositionGetDistanceTo Method
Returns the distance between the latitude and longitude coordinates that are specified by this LocationServicePosition and another specified LocationServicePosition.

Namespace: Cimbalino.Toolkit.Services
Assembly: Cimbalino.Toolkit.Core (in Cimbalino.Toolkit.Core.dll) Version: 2.2.1.0 (2.2.1.0)
Syntax
C#
public double GetDistanceTo(
	LocationServicePosition other
)

Parameters

other
Type: Cimbalino.Toolkit.ServicesLocationServicePosition
The LocationServicePosition for the location to calculate the distance to.

Return Value

Type: Double
The distance between the two coordinates, in meters.
Version Information

Portable

Supported in: 4.5

Windows

Supported in: 10.0, 8.1

Windows Phone

Supported in: 8.1

Windows Phone Silverlight

Supported in: 8.1, 8.0
See Also