Hey Cameron no problem, I also tried playing around with the marker 
alignment options but couldn't get the results, it didn't take as much code 
as I thought though so i'll just post it inline here:

                var textField:TextField = new TextField();
                textField.autoSize = TextFieldAutoSize.CENTER;
                textField.text = "Red\nRock\nCanyon";
                textField.x = -textField.width/2;
                textField.y = -textField.height/2;
                
                var m_RedRockCanyon:Marker = new Marker( 
                    new LatLng(33.056304,-112.76083), 
                    new MarkerOptions({ 
                        
                        /* strokeStyle: new StrokeStyle({color: 00000000, 
alpha: 
                            0.0}), 
                        fillStyle: new FillStyle({color: 0x223344, alpha: 
                            0.0}),  */
                        icon: textField,
                        hasShadow: true
                    })) 
                    theMap.addOverlay(m_RedRockCanyon);

I think this is working okay because if i also just add the marker without 
the fill style as well it points to the middle of the text (it's hard to say 
I've been to Red Rock before but it was a long time ago).  Let me know if 
this works out, basically here I'm just making a custom icon so I can take 
control of the UI component without drilling through the marker properties.

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