1. You're confusing fromLatLngToDivPixel with fromLatLngToContainerPixel. Your mapwindow is attached to the map container, not to the draggable map div.
See: http://code.google.com/intl/iw/apis/maps/documentation/reference.html#GMa p2.fromLatLngToContainerPixel 2. It would probably be easier to do this by ignoring the lat/lng coordinates inside the map. You can find the central pixel of the container by dividing the width and height of the container by 2. -- http://econym.org.uk/gmap The Blackpool Community Church Javascript Team --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
