OCMapView 1.0
Simple and easy to use clustering mapView.
Functions
/Users/Boti/Documents/coding/iPhone Development/OCMapView+Sample/OCMapView/OCDistance.h File Reference
#import <Foundation/Foundation.h>
#import <MapKit/MapKit.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.

Function Documentation

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.

 All Data Structures Files Functions Variables Enumerations Enumerator Properties