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