GPKGMultiPolygonPoints

Objective-C

@interface GPKGMultiPolygonPoints : NSObject

Swift

class GPKGMultiPolygonPoints : NSObject

Multiple Polygon Points shape

  • Polygon points

    Declaration

    Objective-C

    @property (nonatomic, strong) NSMutableArray *polygonPoints;

    Swift

    var polygonPoints: NSMutableArray! { get set }
  • Initialize

    Declaration

    Objective-C

    - (instancetype)init;

    Swift

    init!()

    Return Value

    new multiple polygon points

  • Add a polygon points shape

    Declaration

    Objective-C

    - (void)addPolygonPoints:(GPKGPolygonPoints *)polygonPoints;

    Swift

    func addPolygonPoints(_ polygonPoints: GPKGPolygonPoints!)

    Parameters

    polygonPoints

    polygon points

  • Update the multiple polygon 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 polygon 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 polygon points is valid

    Declaration

    Objective-C

    - (BOOL)isValid;

    Swift

    func isValid() -> Bool

    Return Value

    true if valid

  • Determine if the multiple polygon points has been deleted

    Declaration

    Objective-C

    - (BOOL)isDeleted;

    Swift

    func isDeleted() -> Bool

    Return Value

    true if deleted