Posted By

boblinl on 07/22/10


Tagged

map


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

PixelJuice
scottwatkins


convert latitude/longitude to 2d coordinates


 / Published in: ActionScript 3
 

  1. x = ((lon + 180) * (width / 360));
  2. y = (((lat * -1) + 90) * (height / 180));

Report this snippet  

You need to login to post a comment.