MKPolylineView Class Reference
Available in iOS 4.0 and later.
MKPolylineView class provides the visual representation for an
MKPolyline annotation object. This view strokes the path represented by the annotation. (This class does not fill the area enclosed by the path.) You can change the color and other drawing attributes of the path by modifying the properties inherited from the
MKOverlayPathView class. This class is typically used as is and not subclassed.
In iOS 7 and later, use the
MKPolylineRenderer class to display polyline overlays instead.
Initializing the Polyline View
– initWithPolyline:Deprecated in iOS 7.0
Accessing the Polyline Overlay
polylineproperty Deprecated in iOS 7.0