iOS高德地图SDK(2D)  v5.6.0
MAPolygon.h
Go to the documentation of this file.
1 //
2 // MAPolygon.h
3 // MAMapKit
4 //
5 // Created by AutoNavi.
6 // Copyright (c) 2013年 Amap. All rights reserved.
7 //
8 
9 #import "MAMultiPoint.h"
10 #import "MAOverlay.h"
11 
13 @interface MAPolygon : MAMultiPoint <MAOverlay>
14 
16 @property (readonly) NSArray *interiorPolygons;
17 
24 + (instancetype)polygonWithPoints:(MAMapPoint *)points count:(NSUInteger)count;
25 
33 + (instancetype)polygonWithPoints:(MAMapPoint *)points count:(NSUInteger)count interiorPolygons:(NSArray *)interiorPolygons;
34 
41 + (instancetype)polygonWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count;
42 
50 + (instancetype)polygonWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count interiorPolygons:(NSArray *)interiorPolygons;
51 @end
平面投影坐标结构定义
Definition: MAGeometry.h:38
该类是个由多个点组成的虚基类, 不能直接实例化对象, 要使用其子类MAPolyline,MAPolygon来实例化 ...
Definition: MAMultiPoint.h:14
NSArray * interiorPolygons
内嵌MAPolygon数组,在生成的多边形中将会裁减掉内嵌polygon包含的区域
Definition: MAPolygon.h:16
此类用于定义一个由多个点组成的闭合多边形, 点与点之间按顺序尾部相连, 第一个点与最后一个点相连, 通常MAPolygon是MAPolygonRenderer的model
Definition: MAPolygon.h:13
MAMapPoint * points
坐标点数组
Definition: MAMultiPoint.h:17
© 2017 高德信息技术有限公司 版权所有,保留所有权利。