A location converter between WGS84 GCJ-02 and BD-09.
To integrate DYLocationConverter into your Xcode project using CocoaPods, specify it in your Podfile
:
pod 'DYLocationConverter'
#import "DYLocationConverter.h"
+ (CLLocationCoordinate2D)gcj02FromWgs84:(CLLocationCoordinate2D)coordinate;
+ (CLLocation *)gcj02LocationFromWgs84:(CLLocation *)location;
+ (CLLocationCoordinate2D)wgs84FromGcj02:(CLLocationCoordinate2D)coordinate;
+ (CLLocation *)wgs84LocationFromGcj02:(CLLocation *)location;
+ (CLLocationCoordinate2D)bd09FromWgs84:(CLLocationCoordinate2D)coordinate;
+ (CLLocation *)bd09LocationFromWgs84:(CLLocation *)location;
+ (CLLocationCoordinate2D)wgs84FromBd09:(CLLocationCoordinate2D)coordinate;
+ (CLLocation *)wgs84LocationFromBd09:(CLLocation *)location;
+ (CLLocationCoordinate2D)bd09FromGcj02:(CLLocationCoordinate2D)coordinate;
+ (CLLocation *)bd09LocationFromGcj02:(CLLocation *)location;
+ (CLLocationCoordinate2D)gcj02FromBd09:(CLLocationCoordinate2D)coordinate;
+ (CLLocation *)gcj02LocationFromBd09:(CLLocation *)location;