GPKGMultiPolylinePoints

Objective-C

@interface GPKGMultiPolylinePoints : NSObject

Swift

class GPKGMultiPolylinePoints : NSObject

Multiple Polyline Points shape

  • Polyline points

    Declaration

    Objective-C

    @property (nonatomic, strong) NSMutableArray *polylinePoints;

    Swift

    var polylinePoints: NSMutableArray! { get set }
  • Initialize

    Declaration

    Objective-C

    - (instancetype)init;

    Swift

    init!()

    Return Value

    new multiple polyline points

  • Add a polyline points shape

    Declaration

    Objective-C

    - (void)addPolylinePoints:(GPKGPolylinePoints *)polylinePoints;

    Swift

    func addPolylinePoints(_ polylinePoints: GPKGPolylinePoints!)

    Parameters

    polylinePoints

    polyline points

  • Update the multiple polyline points with the map view

    Declaration

    Objective-C

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

    Swift

    func update(with mapView: MKMapView!)

    Parameters

    mapView

    map view

  • Remove the multiple polyline points from the map view

    Declaration

    Objective-C

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

    Swift

    func remove(from mapView: MKMapView!)

    Parameters

    mapView

    map view

  • Updates hidden state on the map

    Declaration

    Objective-C

    - (void)hidden:(BOOL)hidden fromMapView:(MKMapView *)mapView;

    Swift

    func hidden(_ hidden: Bool, from mapView: MKMapView!)

    Parameters

    hidden

    hidden flag

    mapView

    map view

  • Determine if the multiple polyline points is valid

    Declaration

    Objective-C

    - (BOOL)isValid;

    Swift

    func isValid() -> Bool

    Return Value

    true if valid

  • Determine if the multiple polyline points has been deleted

    Declaration

    Objective-C

    - (BOOL)isDeleted;

    Swift

    func isDeleted() -> Bool

    Return Value

    true if deleted