On May 8, 10:00 pm, Bradley <[email protected]> wrote:
>
> What do I need to do to bind this div's center to the one point on the
> map?  Any help is greatly appreciated.
>

change this line:
centerPoint = overlayProjection.fromLatLngToContainerPixel

to use this function instead:
centerPoint = overlayProjection.fromLatLngToDivPixel

the map is dragged by moving the div, but the container stays in the
same place.

...

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.

Reply via email to