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.

53 lines
0 B

2 years ago
//
// CLLocation+YCLocation.h
// Topevery.GPS 转换
//
// Created by wangshuai on 15-5-10.
// Copyright (c) 2015年 wangshuai. All rights reserved.
// 火星坐标系转换扩展
/*
CLLocationManager mapView !
CLLocationManager Google Maps API
MKMapView Google Maps API API做逆地址解析
iOS mapView google , ()
: MKMapView
: CLLocationManager
CLLocationManager , MKMapView不用处理
API
API
API
API
API
MapBar地图API
MapABC地图API
51ditu地图API
*/
#import <CoreLocation/CoreLocation.h>
@interface CLLocation (YCLocation)
//从地图坐标转化到火星坐标
- (CLLocation*)locationMarsFromEarth;
//从火星坐标转化到百度坐标
- (CLLocation*)locationBaiduFromMars;
//从百度坐标到火星坐标
- (CLLocation*)locationMarsFromBaidu;
//从火星坐标到地图坐标
- (CLLocation*)locationEarthFromMars;
//从百度坐标到地图坐标
- (CLLocation*)locationEarthFromBaidu;
@end