If you create your custom info window as an OverlayView, you'll can
call the getProjection method to get a MapCanvasProjection. That
object has the methods you'll need - specifically fromLatLngToDivPixel

Just keep in mind that getProjection won't return an object until the
draw method is called.

Chad Killingsworth

On Jun 5, 3:08 pm, Toaster <[email protected]> wrote:
> Hey
>
> I wanted to customize the info windows (remove shadow & round corners)
> and I did find one solution but it looked more complex than I'd like
> it to be. Now I'm thinking of creating info windows using jquery and
> I'd like to know if there is a way for me to calculate the marker
> position relative to the container in pixels. Is there a function that
> can do this for me?
>
> Thanks in advance

-- 
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