Hi All

I'm trying to add an image as an overlay.  Whereabouts the image goes
is arbitrary but I want to make sure that the image is displayed at
it's native size and not scaled at all.

The image is 800px wide by 600px high.  According to what I can see if
I use zoom level three there will be 8x8 256px tiles covering the
whole world, meaning that the whole world has 2048x2048 pixels.

So my maths tells me that to determine the latitude that the image
should cover is:
600/2048 * 180 = 52.7344
and the longitude is:
800/2048 * 360 = 148.625

So If I overlay my image with bounds of (-26.3672, -70.3125) and
(26.3672, 70.3125) it should be displayed on 800x600 pixels.

However this isn't right.  The longitude looks right, but the latitude
is far too small making the image appear squashed.  I thought that
maybe my 180 should have been 360, so I tried that, but that made the
image too high, although not by too much.

Can anyone tell me where I'm going wrong?

Cheers
Jeremy
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API For Flash" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-maps-api-for-flash?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to