9 #import <Foundation/Foundation.h> 17 @property (nonatomic, strong) NSArray<id<MAOverlay>> *
hollowShapes;
25 + (instancetype)polygonWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count;
33 + (instancetype)polygonWithPoints:(
MAMapPoint *)
points count:(NSUInteger)count;
49 - (BOOL)setPolygonWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSInteger)count;
平面投影坐标结构定义
Definition: MAGeometry.h:38
该类是个由多个点组成的虚基类, 不能直接实例化对象, 要使用其子类MAPolyline,MAPolygon来实例化 ...
Definition: MAMultiPoint.h:15
NSArray< id< MAOverlay > > * hollowShapes
设置中空区域,用来创建中间带空洞的复杂图形。注意:传入的overlay只支持MAPolgon类型和MACircle类型,不支持与polygon边相交或在polygon外部,不支持hollowShapes彼此间相交,和空洞顺序有关,不支持嵌套. since 5.5.0
Definition: MAPolygon.h:17
此类用于定义一个由多个点组成的闭合多边形, 点与点之间按顺序尾部相连, 第一个点与最后一个点相连, 通常MAPolygon是MAPolygonView的model
Definition: MAPolygon.h:14
MAMapPoint * points
坐标点数组
Definition: MAMultiPoint.h:23