高德地图SDK(导航)  V11.3.300
MAPolygon.h
Go to the documentation of this file.
1 //
2 // MAPolygon.h
3 // MAMapKit
4 //
5 // Copyright (c) 2011年 Amap. All rights reserved.
6 //
7 
8 #import "MAConfig.h"
9 #import <Foundation/Foundation.h>
10 #import "MAMultiPoint.h"
11 #import "MAOverlay.h"
12 
16 
19 @property (nonatomic, strong) NSArray<id<MAOverlay>> *hollowShapes;
20 
21 #pragma mark - 自相交开关 / Self-intersection switch
24 - (void)setSelfIntersectionEnabled:(BOOL)enabled;
25 
29 
32 - (BOOL)containsCoordinate:(CLLocationCoordinate2D)coordinate;
33 
36 - (void)updateOption;
37 
48 + (instancetype)polygonWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count;
49 
60 + (instancetype)polygonWithPoints:(MAMapPoint *)points count:(NSUInteger)count;
61 
72 - (BOOL)setPolygonWithPoints:(MAMapPoint *)points count:(NSInteger)count;
73 
84 - (BOOL)setPolygonWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSInteger)count;
85 
86 @end
Definition: MAMultiPoint.h:17
MAMapPoint * points
Definition: MAMultiPoint.h:20
Definition: MAPolygon.h:15
void updateOption()
NSArray< id< MAOverlay > > * hollowShapes
Definition: MAPolygon.h:19
BOOL isSelfIntersectionEnabled()
Definition: MAOverlay.h:15
CLLocationCoordinate2D coordinate()
Definition: MAGeometry.h:42
© 2017 高德信息技术有限公司 版权所有,保留所有权利。