First you'll need to get the lat/lng of your marker:

var markerLatLng:LatLng = marker.getLatLng();

then as Shaun said use your map to find the viewport coordinates:

var markerScreenCoords:Point = map.fromLatLngToViewport(markerLatLng);

This will be relative to the top left corner of your map object :)

Hope that helps!

Michael

On Feb 25, 8:32 am, Shaun <[email protected]> wrote:
> Believe this used to be called fromLatLngToPaneCoords but it appears in the
> current documentation that the method you'll need is this 
> one:http://code.google.com/intl/com-COM/apis/maps/documentation/flash/ref...
> If neither of those work let me know (the first method is the one I've used
> in the past).

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