GeoLocationDistance Method |
Returns distance in kilometers between current location and location specified by coordinates.
Namespace: CMS.WebAnalyticsAssembly: CMS.WebAnalytics (in CMS.WebAnalytics.dll) Version: 12.0.0
Syntax public double Distance(
double latitude,
double longitude
)
Parameters
- latitude
- Type: SystemDouble
Latitude - longitude
- Type: SystemDouble
Longitude
Return Value
Type:
DoubleRemarks The Haversine formula is used to calculate the distance.
See Also