P.S.
Suppose your map is 512 x 512 pixels. Suppose your marker is 16 x 16
pixels.
var offset=LLToXY( ... );
map.style.left="0px";
map.style.top="0px";
map.style.width="512px";
map.style.height="512px";
marker.style.left=(offset.x+256-8)+"px";
marker.style.top=(offset.y+256-8)+"px";
marker.style.width="16px";
marker.style.height="16px";
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---