I'm trying to get a weather image to display on Google Maps, however in my comparisons to others it seems as if my image is slightly to small (Vertically). I'm wondering what I might have done wrong in the process.
I have my latitude / Longitude coordinates
$NWlat = '50.406626367301044';
$NWlng = '-127.620375523875420';
$SElat = '21.652538062803';
$SElng = '-66.517937876818';
And when converting them to pixels on Google maps (at zoom level 5) I get:
1191,2763 and 2582,3591
Taking the differences between these I get:
1391 x 828
I take my image which is currently sized at 3400x1600 and force it into that size above (doing this in Photoshop). I then use the Crazed Monkey tile cutter to cut the tiles and place them on the map. Things are slightly not vertical enough.
CMD:
googletilecutter.sh -z 5 -o 5 -t 4,10 -p 167,203
See to two images below, and how the graphics are slightly not as elongated from wrong to right. (take note of location of the blue around Kentucky and over by rhode island)
I would greatly appreciate any help with this as I've been struggling now for a bit.
Wrong:
Right: