MKPolygonView Class Reference
Available in iOS 4.0 and later.
MKPolygonView class provides the visual representation for an
MKPolygon annotation object. This view fills and strokes the area represented by the annotation. You can change the color and other drawing attributes of the polygon 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
MKPolygonRenderer class to display polygon overlays instead.
Initializing a Polygon View
– initWithPolygon:Deprecated in iOS 7.0
Accessing the Polygon Overlay
polygonproperty Deprecated in iOS 7.0