高德地图SDK(导航) V11.2.0501
Loading...
Searching...
No Matches
AMapNaviMAProjection.h
Go to the documentation of this file.
1//
2// AMapNaviMAProjection.h
3// AMapNaviKit
4//
5// Created by eidanlin on 2021/1/25.
6// Copyright © 2021 Amap. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10#import <CoreLocation/CoreLocation.h>
11
12NS_ASSUME_NONNULL_BEGIN
13
14#ifdef __cplusplus
15extern "C" {
16#endif
17
19typedef struct AMapNaviMAMapPoint {
20 double x;
21 double y;
23
24static inline AMapNaviMAMapPoint AMapNaviMAMapPointMake(double x, double y) {
25 return (AMapNaviMAMapPoint){x, y};
26}
27
28#ifdef __cplusplus
29}
30#endif
31
32@interface AMapNaviMAProjection : NSObject
33
34+ (CLLocationCoordinate2D)mapPointToCoordinate:(AMapNaviMAMapPoint)aPoint;
35+ (CLLocationCoordinate2D)mapPointToCoordinateWithoutNormalize:(AMapNaviMAMapPoint)aPoint;
36
37+ (AMapNaviMAMapPoint)coordinateToMapPoint:(CLLocationCoordinate2D)aLatLong;
38
39+ (double)metersPerMapPointAtLatitude:(CLLocationDegrees)latitude;
40
41+ (double)mapPointPerMertersAtLatitude:(CLLocationDegrees)latitude;
42
43@end
44
45NS_ASSUME_NONNULL_END
Definition AMapNaviMAProjection.h:33
平面投影坐标结构定义 Planar projection coordinate structure definition
Definition AMapNaviMAProjection.h:19
double x
x坐标 x-coordinate
Definition AMapNaviMAProjection.h:20
double y
y坐标 y-coordinate
Definition AMapNaviMAProjection.h:21
© 2017 高德信息技术有限公司 版权所有,保留所有权利。