Troubles mapping Lat/Long...to a map!
in
Programming Questions
•
3 years ago
Hello all, I have been struggling with this problem for a while now (only marginally longer than it took me to get back on the forum!), & it's completely stumped me. I have a applet that *tries* to place ellipses over a map by converting some lat. & long. figures. When moving the cursor over the map the correct lat/long is printed to the screen, but the ellipses don't go to their desired positions, close, but not quite there..
The applet is here:
http://www.samhumphrey.co.uk/testArea/mapApp/index.html
..and the text file it is reading to draw the ellipses is as follows:
name graduationYear homeTown homeY homeX currentLocation currentY currentX status date
adam 2010 Bristol 51.450584 -2.58728 London 51.498485 -0.126343 employed 17/07/07
adam 2010 Bristol 51.450584 -2.58728 Bristol 51.450584 -2.58728 unemployed 20/06/10
adam 2010 Bristol 51.450584 -2.58728 Aberdeen 57.147416 -2.095299 unemployed 02/08/10
Can anyone spot where I'm going wrong?
1