You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
1.4 KiB

//
// 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