Blame view

Pods/AMap3DMap/MAMapKit.framework/Headers/MAGeodesicPolyline.h 1.35 KB
75d24c15   yangbin   123
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
  //
  //  MAGeodesicPolyline.h
  //  MapKit_static
  //
  //  Created by songjian on 13-10-23.
  //  Copyright © 2016 Amap. All rights reserved.
  
  #import "MAConfig.h"
  
  #if MA_INCLUDE_OVERLAY_GEODESIC
  
  #import "MAPolyline.h"
  
  ///大地曲线
  @interface MAGeodesicPolyline : MAPolyline
  
  /**
   * @brief 根据MAMapPoints生成大地曲线
   * @param points MAMapPoint
   * @param count  点的个数
   * @return 生成的大地曲线
   */
  + (instancetype)polylineWithPoints:(MAMapPoint *)points count:(NSUInteger)count;
  
  /**
   * @brief 根据经纬度生成大地曲线
   * @param coords 经纬度
   * @param count  点的个数
   * @return 生成的大地曲线
   */
  + (instancetype)polylineWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count;
  
  /**
   * @brief 重新设置坐标点. since 5.0.0
   * @param points 指定的直角坐标点数组,C数组,内部会做copy,调用者负责内存管理。
   * @param count 坐标点的个数
   * @return 是否设置成功
   */
  - (BOOL)setPolylineWithPoints:(MAMapPoint *)points count:(NSInteger)count;
  
  /**
   * @brief 重新设置坐标点. since 5.0.0
   * @param coords 指定的经纬度坐标点数组,C数组,内部会做copy,调用者负责内存管理
   * @param count 坐标点的个数
   * @return 是否设置成功
   */
  - (BOOL)setPolylineWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSInteger)count;
  
  @end
  
  #endif