12NS_ASSUME_NONNULL_BEGIN
17@property (nonatomic, copy, nullable) NSArray<id <BMKOverlay>> *
hollowShapes;
23+ (nullable instancetype)polygonWithPoints:(
BMKMapPoint *)
points count:(NSUInteger)count;
29+ (nullable instancetype)polygonWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count;
41- (BOOL)setPolygonWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger) count;
48@interface BMKPolygon (EncodedAPI)
51@property (nonatomic, copy) NSString *encodedGeoPoints;
55@property (nonatomic, assign) BMKEncodePointType encodePointType;
该类定义多个点,是个由多个点组成的虚基类, 不能直接实例化对象, 要使用其子类BMKPolyline,BMKPolygon来实例化
Definition BMKMultiPoint.h:18
BMKMapPoint * points
坐标点数组
Definition BMKMultiPoint.h:27
此类用于定义一个多边形区域
Definition BMKPolygon.h:14
NSArray< id< BMKOverlay > > * hollowShapes
Definition BMKPolygon.h:17
该类是地图覆盖物的基类,所有地图的覆盖物需要继承自此类
Definition BMKOverlay.h:17
地理坐标点,用直角地理坐标表示
Definition BMKTypes.h:189