Hi all,
So, I'm getting some distorted displays and I'm hoping for some help.
As an example, this is how Times Square displays. (http://imgur.com/CQlIocE)
For those who haven't been to my amazing city, these blocks are all rectangles
in reality. A casual search has yielded some stuff about projections but it's
all been in regard to JOSM. I'm just downloading a JSON file and processing it
in Javascript with the JSON parser.
All I'm doing so far is scaling the lon/lat coordinates to the size of the
display. I did a test and added the following code and as I expected it does
indeed display a right triangle on top of the distorted map.
showLine(-73.790962, 42.252865,-73.791962, 42.253865);
showLine(-73.790962, 42.252865,-73.790962, 42.253865);
showLine(-73.790962, 42.253865,-73.791962, 42.253865);
Is there some extra math I'm supposed to employ to display lon/lat coordinates
beyond just scaling them to the dimensions of the display?
Thanks in advance,
-Matt_______________________________________________
newbies mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/newbies