GPKGPolylinePoints
Objective-C
@interface GPKGPolylinePoints : NSObject <GPKGShapePoints>
Swift
class GPKGPolylinePoints : NSObject, GPKGShapePoints
Polyline points shape
-
Backing polyline
Declaration
Objective-C
@property (nonatomic, strong) GPKGPolyline *polyline;Swift
var polyline: GPKGPolyline! { get set } -
Polyline points
Declaration
Objective-C
@property (nonatomic, strong) NSMutableArray *points;Swift
var points: NSMutableArray! { get set } -
Initialize
Declaration
Objective-C
- (instancetype)init;Swift
init!()Return Value
new polyline points
-
Add a point
Declaration
Objective-C
- (void)addPoint:(GPKGMapPoint *)point;Swift
func addPoint(_ point: GPKGMapPoint!)Parameters
pointpoint
-
Update the polyline points with the map view
Declaration
Objective-C
- (void)updateWithMapView:(MKMapView *)mapView;Swift
func update(with mapView: MKMapView!)Parameters
mapViewmap view
-
Remove the polyline points from the map view
Declaration
Objective-C
- (void)removeFromMapView:(MKMapView *)mapView;Swift
func remove(from mapView: MKMapView!)Parameters
mapViewmap view
-
Determine if the polyline points is valid
Declaration
Objective-C
- (BOOL)isValid;Swift
func isValid() -> BoolReturn Value
true if valid
-
Determine if the polyline points has been deleted
Declaration
Objective-C
- (BOOL)isDeleted;Swift
func isDeleted() -> BoolReturn Value
true if deleted
View on GitHub
GPKGPolylinePoints Class Reference