|
高德地图SDK(导航) V11.2.0501
|
#include <MAGeometry.h>
Instance Methods | |
| (MAMapPoint) | - MAMapPointValue |
| 返回NSValue对象包含的MAMapPoint结构体对象 Returns the MAMapPoint structure contained in the NSValue object | |
| (MAMapSize) | - MAMapSizeValue |
| 返回NSValue对象包含的MAMapSize结构体对象 Returns the MAMapSize structure contained in the NSValue object | |
| (MAMapRect) | - MAMapRectValue |
| 返回NSValue对象包含的MAMapRect结构体对象 Returns the MAMapRect structure contained in the NSValue object | |
| (CLLocationCoordinate2D) | - MACoordinateValue |
| 返回NSValue对象包含的CLLocationCoordinate2D结构体对象 Returns the CLLocationCoordinate2D structure contained in the NSValue object | |
Class Methods | |
| (NSValue *) | + valueWithMAMapPoint: |
| 创建 MAMapPoint 的NSValue对象 Create NSValue object for MAMapPoint | |
| (NSValue *) | + valueWithMAMapSize: |
| 创建 MAMapSize 的NSValue对象 Create NSValue object for MAMapSize | |
| (NSValue *) | + valueWithMAMapRect: |
| 创建 MAMapRect 的NSValue对象 Create NSValue object for MAMapRect | |
| (NSValue *) | + valueWithMACoordinate: |
| 创建 CLLocationCoordinate2D 的NSValue对象 Create NSValue object for CLLocationCoordinate2D | |
utils方法,方便c结构体对象和NSValue对象间相互转化 utils method for convenient conversion between C struct objects and NSValue objects
| - (CLLocationCoordinate2D) MACoordinateValue |
返回NSValue对象包含的CLLocationCoordinate2D结构体对象 Returns the CLLocationCoordinate2D structure contained in the NSValue object
| - (MAMapPoint) MAMapPointValue |
返回NSValue对象包含的MAMapPoint结构体对象 Returns the MAMapPoint structure contained in the NSValue object
| - (MAMapRect) MAMapRectValue |
| - (MAMapSize) MAMapSizeValue |
| + (NSValue *) valueWithMACoordinate: | (CLLocationCoordinate2D) | coordinate |
创建 CLLocationCoordinate2D 的NSValue对象 Create NSValue object for CLLocationCoordinate2D
| coordinate | CLLocationCoordinate2D结构体对象 CLLocationCoordinate2D struct object |
| + (NSValue *) valueWithMAMapPoint: | (MAMapPoint) | mapPoint |
创建 MAMapPoint 的NSValue对象 Create NSValue object for MAMapPoint
| mapPoint | MAMapPoint结构体对象 MAMapPoint struct object |
| + (NSValue *) valueWithMAMapRect: | (MAMapRect) | mapRect |
| + (NSValue *) valueWithMAMapSize: | (MAMapSize) | mapSize |