jsdw_ios/Pods/AMapNavi-NO-IDFA/AMapNaviKit.framework/Headers/AMapNaviMAProjection.h

46 lines
1.1 KiB
Objective-C

//
// AMapNaviMAProjection.h
// AMapNaviKit
//
// Created by eidanlin on 2021/1/25.
// Copyright © 2021 Amap. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <CoreLocation/CoreLocation.h>
NS_ASSUME_NONNULL_BEGIN
#ifdef __cplusplus
extern "C" {
#endif
///平面投影坐标结构定义 Planar projection coordinate structure definition
typedef struct AMapNaviMAMapPoint {
double x; ///<x坐标 x-coordinate
double y; ///<y坐标 y-coordinate
} AMapNaviMAMapPoint;
static inline AMapNaviMAMapPoint AMapNaviMAMapPointMake(double x, double y) {
return (AMapNaviMAMapPoint){x, y};
}
#ifdef __cplusplus
}
#endif
@interface AMapNaviMAProjection : NSObject
+ (CLLocationCoordinate2D)mapPointToCoordinate:(AMapNaviMAMapPoint)aPoint;
+ (CLLocationCoordinate2D)mapPointToCoordinateWithoutNormalize:(AMapNaviMAMapPoint)aPoint;
+ (AMapNaviMAMapPoint)coordinateToMapPoint:(CLLocationCoordinate2D)aLatLong;
+ (double)metersPerMapPointAtLatitude:(CLLocationDegrees)latitude;
+ (double)mapPointPerMertersAtLatitude:(CLLocationDegrees)latitude;
@end
NS_ASSUME_NONNULL_END