Class

MKPolylineRenderer

The visual representation for any polyline overlay object.

Declaration

@interface MKPolylineRenderer : MKOverlayPathRenderer

Overview

This renderer strokes the line only; it does not fill it. You can change the color and other drawing attributes of the polyline by modifying the properties inherited from the parent class. You typically use this class as is and do not subclass it.

Topics

Creating a Polyline Renderer

- initWithPolyline:

Initializes and returns a new overlay view using the specified polyline overlay object

Accessing the Polyline Overlay

polyline

The polyline overlay object that contains the information used to draw the overlay.

Relationships

See Also

Polyline

MKPolyline

A shape consisting of one or more connected line segments.

MKGeodesicPolyline

A line-based shape that follows the contours of the Earth to create the shortest path between the specified points.

MKMultiPolyline

A collection of multipolyline shapes, each consisting of one or more connected line segments.

MKMultiPolylineRenderer

The visual representation for multiple polyline objects.