TTSearchPolygon Class Reference
Inherits from | TTSearchShape : NSObject |
---|---|
Declared in | TTSearchPolygon.h |
+ polygonWithCoordinates:count:
Creates and returns a TTSearchPolygon object using coordinates array
+ (TTSearchPolygon *)polygonWithCoordinates:(CLLocationCoordinate2D *)coordinates count:(NSUInteger)count
Parameters
coordinates |
pointer to array of coordinates, array has to have at least 3 elements |
---|---|
count |
number of coordiantes in array |
Return Value
TTSearchPolygon
Discussion
Creates and returns a TTSearchPolygon object using coordinates array
Declared In
TTSearchPolygon.h
coordinates
The array of coordinates defining the polygon.
@property (nonatomic, readonly) CLLocationCoordinate2D *coordinates
Discussion
The array of coordinates defining the polygon.
Declared In
TTSearchPolygon.h
count
The number of items in the coordinates array.
@property (nonatomic, assign, readonly) NSUInteger count
Discussion
The number of items in the coordinates array.
Declared In
TTSearchPolygon.h