Hi Paul-

If you're not using the default frame, your best bet would be to
create a OverlayBase extension for your infowindow. Then you'll have
full control over the pixel snapping.

- pamela


On Wed, Apr 8, 2009 at 2:59 AM, Paul Holliday
<[email protected]> wrote:
>
> Kinda solved the problem .. but not in the best way with:
>
> private function positionInfoWindow():void
>                {
>                        var icon:DisplayObject = 
> monkeyMarker.getOptions().icon;
>
>                        var a:Point = icon.localToGlobal(new Point());
>                        var b:Point = new Point(Math.round(a.x), 
> Math.round(a.y));
>
>                        infoWindow.x = b.x;
>                        infoWindow.y = b.y;
>                }
>
>
>
>                private function onEnter(event:Event):void
>                {
>                        try {
>                                positionInfoWindow();
>                        }
>                        catch(error:Error) {
>                        }
>                }
>
>
> There should be a better way ?
>
>
> Best,
> paul
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API For Flash" 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-for-flash?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to