高德地图SDK(导航) V10.0.900
Loading...
Searching...
No Matches
MAPolyline.h
Go to the documentation of this file.
1//
2// MAPolyline.h
3// MAMapKit
4//
5//
6// Copyright (c) 2011年 Amap. All rights reserved.
7//
8
9#import "MAConfig.h"
10#import "MAMultiPoint.h"
11#import "MAOverlay.h"
12
15
22+ (instancetype)polylineWithPoints:(MAMapPoint *)points count:(NSUInteger)count;
23
30+ (instancetype)polylineWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count;
31
38- (BOOL)setPolylineWithPoints:(MAMapPoint *)points count:(NSInteger)count;
39
46- (BOOL)setPolylineWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSInteger)count;
47
48@end
该类是个由多个点组成的虚基类, 不能直接实例化对象, 要使用其子类MAPolyline,MAPolygon来实例化
Definition MAMultiPoint.h:16
此类用于定义一个由多个点相连的多段线,点与点之间尾部相连但第一点与最后一个点不相连, 通常MAPolyline是MAPolylineView的model
Definition MAPolyline.h:14
该类是地图覆盖物的基类,所有地图的覆盖物需要继承自此类
Definition MAOverlay.h:14
平面投影坐标结构定义
Definition MAGeometry.h:38
© 2017 高德信息技术有限公司 版权所有,保留所有权利。