Skip to content

Commit

Permalink
新增2个接口说明
Browse files Browse the repository at this point in the history
  • Loading branch information
jack committed Aug 23, 2013
1 parent b4b075a commit 919ca5f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,18 @@ JZLocationConverter

WGS-84世界标准坐标、GCJ-02中国国测局(火星坐标)、BD-09百度坐标系转换
目前有:
##WGS-84 -> GCJ-02 (当输入坐标为中国大陆以外时,仍旧返回WGS-84坐标)
##WGS-84 -> GCJ-02
### 此接口当输入坐标为中国大陆以外时,仍旧返回WGS-84坐标
+ (CLLocationCoordinate2D)wgs84ToGcj02:(CLLocationCoordinate2D)location;
##GCJ-02 -> WGS-84
### 此接口有1-2米左右的误差,需要精确的场景慎用
+ (CLLocationCoordinate2D)gcj02ToWgs84:(CLLocationCoordinate2D)location;
##WGS-84 -> BD-09
+ (CLLocationCoordinate2D)wgs84ToBd09:(CLLocationCoordinate2D)location;
##BD-09 -> WGS-84
+ (CLLocationCoordinate2D)bd09ToWgs84:(CLLocationCoordinate2D)location;
##GCJ-02 -> BD-09
+ (CLLocationCoordinate2D)gcj02ToBd09:(CLLocationCoordinate2D)location;
##BD-09 -> GCJ-02
### 此接口有1-2米左右的误差,需要精确的场景慎用
+ (CLLocationCoordinate2D)bd09ToGcj02:(CLLocationCoordinate2D)location;

0 comments on commit 919ca5f

Please sign in to comment.