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