GPKGMultiPoint

Objective-C

@interface GPKGMultiPoint : NSObject <GPKGShapePoints>

Swift

class GPKGMultiPoint : NSObject, GPKGShapePoints

Multi point shape

  • 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 multi point

  • Add a point

    Declaration

    Objective-C

    - (void)addPoint:(GPKGMapPoint *)point;

    Swift

    func addPoint(_ point: GPKGMapPoint!)

    Parameters

    point

    point

  • Remove the multi point from the map view

    Declaration

    Objective-C

    - (void)removeFromMapView:(MKMapView *)mapView;

    Swift

    func remove(from mapView: MKMapView!)

    Parameters

    mapView

    map view