GPKGShapePoints
Objective-C
@protocol GPKGShapePoints <NSObject>
Swift
protocol GPKGShapePoints : NSObjectProtocol
Shape points protocol, defining the interface for shapes comprised of points
-
Get the points
Declaration
Objective-C
- (NSArray *)points;Swift
func points() -> [Any]!Return Value
points
-
Delete the point from the shape and map view
Declaration
Objective-C
- (void)deletePoint:(GPKGMapPoint *)point fromMapView:(MKMapView *)mapView;Swift
func delete(_ point: GPKGMapPoint!, from mapView: MKMapView!)Parameters
pointpoint
mapViewmap view
-
Add a new point to the shape
Declaration
Objective-C
- (void)addNewPoint:(GPKGMapPoint *)point;Swift
func addNewPoint(_ point: GPKGMapPoint!)Parameters
pointpoint
-
Updates hidden state of all objects
Declaration
Objective-C
- (void)hidden:(BOOL)hidden fromMapView:(MKMapView *)mapView;Swift
func hidden(_ hidden: Bool, from mapView: MKMapView!)Parameters
hiddenhidden flag
mapViewmap view
-
Updates hidden state of the shape representing points
Declaration
Objective-C
- (void)hiddenPoints:(BOOL)hidden;Swift
func hiddenPoints(_ hidden: Bool)Parameters
hiddenhidden flag
View on GitHub
GPKGShapePoints Protocol Reference