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.

80 lines
2.2 KiB

2 years ago
//
// JZLocationConverter.h
// JZCLLocationMangerDome
//
// Created by jack zhou on 13-8-22.
// Copyright (c) 2013年 JZ. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <CoreLocation/CoreLocation.h>
@interface JZLocationConverter : NSObject
/**
* @brief (WGS-84) GCJ-02<>
*
* ####
*
* @param location (WGS-84)
*
* @return GCJ-02<>
*/
+ (CLLocationCoordinate2D)wgs84ToGcj02:(CLLocationCoordinate2D)location;
/**
* @brief GCJ-02 WGS-84
*
* ####12
*
* @param location GCJ-02
*
* @return WGS-84
*/
+ (CLLocationCoordinate2D)gcj02ToWgs84:(CLLocationCoordinate2D)location;
/**
* @brief (WGS-84) BD-09)
*
* @param location (WGS-84)
*
* @return BD-09)
*/
+ (CLLocationCoordinate2D)wgs84ToBd09:(CLLocationCoordinate2D)location;
/**
* @brief GCJ-02<> BD-09)
*
* @param location GCJ-02<>
*
* @return BD-09)
*/
+ (CLLocationCoordinate2D)gcj02ToBd09:(CLLocationCoordinate2D)location;
/**
* @brief BD-09) GCJ-02<>
*
* @param location BD-09)
*
* @return GCJ-02<>
*/
+ (CLLocationCoordinate2D)bd09ToGcj02:(CLLocationCoordinate2D)location;
/**
* @brief BD-09) WGS-84
*
* ####12
*
* @param location BD-09)
*
* @return WGS-84
*/
+ (CLLocationCoordinate2D)bd09ToWgs84:(CLLocationCoordinate2D)location;
@end