transformGCJ02toBD09 static method
transform GCJ02 to BD09 火星坐标系->百度坐标系
Implementation
static CoordResult transformGCJ02toBD09(double lon, double lat) {
double z = sqrt(lon * lon + lat * lat) + 0.00002 * sin(lat * X_PI);
double theta = atan2(lat, lon) + 0.000003 * cos(lon * X_PI);
return CoordResult(z * cos(theta) + 0.0065, z * sin(theta) + 0.006);
}