Showing
2 changed files
with
4 additions
and
4 deletions
@@ -37,9 +37,9 @@ | @@ -37,9 +37,9 @@ | ||
37 | 37 | ||
38 | /** Initialize a polygon annotation. | 38 | /** Initialize a polygon annotation. |
39 | * @param aMapView The map view on which to place the annotation. | 39 | * @param aMapView The map view on which to place the annotation. |
40 | -* @param points An array of CLLocation points defining the shape. The data in this array is copied to the new object. | 40 | +* @param points An array of CLLocation points defining the polygon. The data in this array is copied to the new object. |
41 | * @param interiorPolygons An array of RMPolygonAnnotation objects that define one or more cutout regions for the receiver’s polygon. | 41 | * @param interiorPolygons An array of RMPolygonAnnotation objects that define one or more cutout regions for the receiver’s polygon. |
42 | -* @return An initialized shape annotation object, or `nil` if an annotation was unable to be initialized. */ | 42 | +* @return An initialized polygon annotation object, or `nil` if an annotation was unable to be initialized. */ |
43 | - (id)initWithMapView:(RMMapView *)aMapView points:(NSArray *)points interiorPolygons:(NSArray *)interiorPolygons; | 43 | - (id)initWithMapView:(RMMapView *)aMapView points:(NSArray *)points interiorPolygons:(NSArray *)interiorPolygons; |
44 | 44 | ||
45 | /** The array of polygons nested inside the receiver. (read-only) | 45 | /** The array of polygons nested inside the receiver. (read-only) |
@@ -29,8 +29,8 @@ | @@ -29,8 +29,8 @@ | ||
29 | #import "RMShapeAnnotation.h" | 29 | #import "RMShapeAnnotation.h" |
30 | 30 | ||
31 | /** An RMPolylineAnnotation is a concrete subclass of RMShapeAnnotation that is used to represent a shape consisting of one or more points that define connecting line segments. The points are connected end-to-end in the order they are provided. The first and last points are not connected to each other. The annotation will automatically have a layer created when needed that displays an RMShape. | 31 | /** An RMPolylineAnnotation is a concrete subclass of RMShapeAnnotation that is used to represent a shape consisting of one or more points that define connecting line segments. The points are connected end-to-end in the order they are provided. The first and last points are not connected to each other. The annotation will automatically have a layer created when needed that displays an RMShape. |
32 | - * | ||
33 | - * If you wish to customize the layer appearance in more detail, you should instead create an RMAnnotation and configure its layer directly. Providing a layer manually for instances of RMPolylineAnnotation will not have any effect. */ | 32 | +* |
33 | +* If you wish to customize the layer appearance in more detail, you should instead create an RMAnnotation and configure its layer directly. Providing a layer manually for instances of RMPolylineAnnotation will not have any effect. */ | ||
34 | @interface RMPolylineAnnotation : RMShapeAnnotation | 34 | @interface RMPolylineAnnotation : RMShapeAnnotation |
35 | 35 | ||
36 | @end | 36 | @end |
-
Please register or login to post a comment