On Nov 20, 12:17 am, Martin <[EMAIL PROTECTED]> wrote:
> Hi again.
>
> Can't you calculate 'swx' and 'ney' pixel points from your existing
> center, width and height data?
>
> Assuming that center is a GPoint object and that width and height are
> integers.
>
> var swx = center.x - (width / 2);
>
> var ney = center.y - (height / 2);
>
> Martin.
Center is in Lat/Lon coordinates.
Height is in pixels.
Width is in pixels.
The file:
www.polyarc.us/adjust.js
contains conversion functions.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API" 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?hl=en
-~----------~----~----~----~------~----~------~--~---