GPKGMultiPolyline
Objective-C
@interface GPKGMultiPolyline : NSObject
Swift
class GPKGMultiPolyline : NSObject
Multi polyline shape
-
Polylines
Declaration
Objective-C
@property (nonatomic, strong) NSMutableArray *polylines;
Swift
var polylines: NSMutableArray! { get set }
-
Initialize
Declaration
Objective-C
- (instancetype)init;
Swift
init!()
Return Value
new multi polyline
-
Add a polyline
Declaration
Objective-C
- (void)addPolyline:(MKPolyline *)polyline;
Swift
func addPolyline(_ polyline: MKPolyline!)
Parameters
polyline
polyline
-
Remove the multi polyline 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