On Dec 26, 11:27 pm, "Neil.Young" <[email protected]> wrote:
> Thanks. I thought by this the sample would get some better insight into
> the purpose of adjust.js, but I didn't. I still have neither a clue,
> what all these parameters mean, nor in which context the library would
> be of help.
==========
To reposition a static map:
var LL = XYToLL (X,Y,x,y,z)
X = deltaX in pixels
Y = deltaY in pixels
x = longitude of map center
y = latitude of map center
z = zoom level of map
An object is returned:
LL.x = longitude of relocated map center
LL.y = latitude of relocated map center
==========
==========
To add markers to a static map:
var XY = LLToXY (X,Y,x,y,z)
X = longitude of marker
Y = latitude of marker
x = longitude of map center
y = latitude of map center
z = zoom level of map
An object is returned:
XY.x = x pixel offset of marker from map center
XY.y = y pixel offset of marker from map center
==========
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---