GPKGMultiPolygon
Objective-C
@interface GPKGMultiPolygon : NSObject
Swift
class GPKGMultiPolygon : NSObject
Multi polygon shape
-
Polygons
Declaration
Objective-C
@property (nonatomic, strong) NSMutableArray *polygons;
Swift
var polygons: NSMutableArray! { get set }
-
Initialize
Declaration
Objective-C
- (instancetype)init;
Swift
init!()
Return Value
new multi polygon
-
Add a polygon
Declaration
Objective-C
- (void)addPolygon:(MKPolygon *)polygon;
Swift
func addPolygon(_ polygon: MKPolygon!)
Parameters
polygon
polygon
-
Remove the multi polygon shape from the map view
Declaration
Objective-C
- (void)removeFromMapView:(MKMapView *)mapView;
Swift
func remove(from mapView: MKMapView!)
Parameters
mapView
map view
-
Updates hidden state
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