A Flash Developer Resource Site

Results 1 to 18 of 18

Thread: Turn latitude/longitude into X,Y coordinates?

Threaded View

  1. #1
    victory is mine!
    Join Date
    Oct 2001
    Posts
    156

    Turn latitude/longitude into X,Y coordinates?

    I'm working on a map that will display a person's location with a dot. We have the geographical coordinates in Latitude/Longitude form. So, i'm totally lost (i'm TERRIBLE at math) as to how i can turn latitude/longitude info into X and Y coordinates so that flash can move the little dot around to the right location.

    For instance: The following variables are passed into flash: Lat: 32.777654 Long: -79.933819. NOW, we need to translate that into an XY position inside the mc with the map graphic in it. I'm guessing this can be down with a mathematical conversion/equation but i have no clue how to do it. Any ideas?

    Thanks for any help!
    Last edited by pherball; 12-29-2005 at 11:23 AM.
    i think i think too much, i think.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center