AWFMKPolyline

Objective-C

@interface AWFMKPolyline : MKPolyline <AWFPolyline, AWFStyledMapItem>

Swift

class AWFMKPolyline : AWFPolyline, AWFStyledMapItem

An AWFMKPolyline object is an instance of MKPolyline that represents a stylable polyline that is added to an Apple MapKit map view.

  • The group identifier for the polygon. This controls which style is used when multiple styles are available for a single layer source type.

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) NSString *identifier;

    Swift

    var identifier: String? { get set }
  • The style associated with the polyline.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) AWFPolygonStyle *style;

    Swift

    var style: AWFPolygonStyle? { get set }
  • The model object that is represented by the polyline.

    Declaration

    Objective-C

    @property (readonly, nonatomic, strong, nullable) AWFWeatherObject *modelObject