![]() |
OCMapView 1.0
Simple and easy to use clustering mapView.
|
#import "OCDistance.h"
Go to the source code of this file.
Functions | |
CLLocationDistance | getDistance (CLLocationCoordinate2D firstLocation, CLLocationCoordinate2D secondLocation) |
calculates the distance between two given coordinates. | |
BOOL | isLocationNearToOtherLocation (CLLocationCoordinate2D firstLocation, CLLocationCoordinate2D secondLocation, CLLocationDistance distanceInGeoCoordinates) |
determines either two locations are near or not. Returns true if the distance between two give locations is shorter or equal than the designated distance. The distance represents the cluster size. |
CLLocationDistance getDistance | ( | CLLocationCoordinate2D | firstLocation, |
CLLocationCoordinate2D | secondLocation | ||
) |
calculates the distance between two given coordinates.
Definition at line 13 of file OCDistance.m.
BOOL isLocationNearToOtherLocation | ( | CLLocationCoordinate2D | firstLocation, |
CLLocationCoordinate2D | secondLocation, | ||
CLLocationDistance | distanceInGeoCoordinates | ||
) |
determines either two locations are near or not. Returns true if the distance between two give locations is shorter or equal than the designated distance. The distance represents the cluster size.
Definition at line 30 of file OCDistance.m.