On Jan 2, 8:30 pm, redDevil <[email protected]> wrote:
> The deltaX is the position x on the screen?
The "deltaX" & "deltaY" arguments are distances in pixels from the
center of the map used to fetch a new map (simulated panning).
For a map centered at (+40.0,-95.0) at zoom level 4 with dimensions of
640 x 640 pixels,
var upperleft = XYToLL(-320,-320,-95.0,+40.0,4);
var lowerright = XYToLL(+320,+320,-95.0,+40.0,4);
An object is returned;
upperleft.x = Longitude of upper left corner
upperleft.y = Latitude of upper left corner
lowerright.x = Longitude of lower right corner
lowerright.y = Latitude of lower right corner
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---