Geeks With Blogs
Aleksey Sudakov blog
  1. convert lat/lon to UTM
  2. subtract map's top UTM coordinates from converted lat/lon and divide by zoom
  3. center map at x,y
or even simplier
  1. subtract map's top lat/lon from current fix (a, b)
  2. y = a*256/0.07294 for scale 5
  3. x = b*256/0.08789 for scale 5

and see how bad is error on x.

Sertainly, neither did work. The first didn't work because google maps are not in UTM (Here in comments there is some info on what it is). The second didn't work because it is stupid.

Anyhow, here they say how to do it right.

Finally, all formulas could be found in Aviation Formulary and Great Circle Distance and UTM Wikipedia.

Posted on Wednesday, February 8, 2006 1:56 PM | Back to top


Comments on this post: Google moving map

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © Aleksey Sudakov | Powered by: GeeksWithBlogs.net