摘要: //经纬度转墨卡托-(CGPoint )lonLat2Mercator:(CGPoint ) lonLat{ CGPoint mercator; double x = lonLat.x *20037508.34/180; double y = log(tan((90+lonLat.y)*M_PI/360))/(M_PI/180); y = y *20037508.34/180; mercator.x = x; mercator.y = y; return mercator ;}//墨卡托转经纬度-(CGPoint )Mercator2lonLat:(CGPoint ) mercator{ .. 阅读全文
posted @ 2012-09-25 10:09 周文 阅读(466) 评论(0) 推荐(0) 编辑