摘要: 1.首先需要了解一下墨卡托投影。然后了解一下tile slippy做法。参考http://wiki.openstreetmap.org/wiki/Slippy_map_tilenames通常墨卡托投影坐标系需要转成左上为原点。这就与屏幕坐标系相对应了。2.需要知道坐标旋转公式。通常坐标旋转公式是 (1) x1=(cosθ)dx-(sinθ)dy + x (逆时针) y1=(cosθ)dy+(sinθ)dx + y x,y为圆心。 这个旋转公式是通常的xy坐标系的,即左下点为坐标系原点。且规定逆时针为正方向旋转。左下坐标系的顺时针旋转公式为 (2) x1=(cosθ)dx+... 阅读全文
posted @ 2013-05-09 17:51 91yuan 阅读(485) 评论(0) 推荐(0) 编辑