#import <MAGeodesicPolyline.h>
◆ polylineWithCoordinates:count:
| + (instancetype) polylineWithCoordinates: |
|
(CLLocationCoordinate2D *) |
coords |
| count: |
|
(NSUInteger) |
count |
|
|
| |
根据经纬度生成大地曲线 Generate geodesic curves based on latitude and longitude
- Parameters
-
| coords | 经纬度 Latitude and longitude |
| count | 点的个数 Number of points |
- Returns
- 生成的大地曲线 Generated geodesic curves
Implements MAPolyline.
◆ polylineWithPoints:count:
| + (instancetype) polylineWithPoints: |
|
(MAMapPoint *) |
points |
| count: |
|
(NSUInteger) |
count |
|
|
| |
根据MAMapPoints生成大地曲线 Generate geodesic curves based on MAMapPoints
- Parameters
-
| points | MAMapPoint点 MAMapPoint points |
| count | 点的个数 Number of points |
- Returns
- 生成的大地曲线 Generated geodesic curves
Implements MAPolyline.
◆ setPolylineWithCoordinates:count:
| - (BOOL) setPolylineWithCoordinates: |
|
(CLLocationCoordinate2D *) |
coords |
| count: |
|
(NSInteger) |
count |
|
|
| |
重新设置坐标点. since 5.0.0 Reset coordinate points. since 5.0.0
- Parameters
-
| coords | 指定的经纬度坐标点数组,C数组,内部会做copy,调用者负责内存管理 Specified array of latitude and longitude coordinate points, C array, internal copy will be performed, caller is responsible for memory management |
| count | 坐标点的个数 Number of coordinate points |
- Returns
- 是否设置成功 Whether the setup is successful
Implements MAPolyline.
◆ setPolylineWithPoints:count:
| - (BOOL) setPolylineWithPoints: |
|
(MAMapPoint *) |
points |
| count: |
|
(NSInteger) |
count |
|
|
| |
重新设置坐标点. since 5.0.0 Reset coordinate points. since 5.0.0
- Parameters
-
| points | 指定的直角坐标点数组,C数组,内部会做copy,调用者负责内存管理。 Specified rectangular coordinate points array, C array, internal copy will be made, caller is responsible for memory management |
| count | 坐标点的个数 Number of coordinate points |
- Returns
- 是否设置成功 Whether the setup is successful
Implements MAPolyline.
The documentation for this class was generated from the following file: