Updated to get the alignment of the text corrected and add the text
coloring, think this should be all you need now:
var textField:TextField=new TextField();
textField.autoSize=TextFieldAutoSize.CENTER;
textField.htmlText="<p
align='center'>Red\nRock\nCanyon</p>";
textField.textColor=0xFF0000;
textField.x=-textField.width / 2;
textField.y=-textField.height / 2;
var m_RedRockCanyon:Marker=new Marker(new LatLng(33.056304,
-112.76083), new MarkerOptions({icon: textField, hasShadow: true}))
theMap.addOverlay(m_RedRockCanyon);
This support paid for you in part, by Google in the form of t-shirts and
pens sent to me, and the occasional down time at Roundarch.com (the company
that keeps me alive and happy), gotta throw the promo in there at least :)
--
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.