Rad. Got it, thanks Shaun!!! ...though it begs two more questions.
How do I align the markers to center on my latlong? (since I'm zeroing-out the marker's border/fill alpha, I just want the text to center on the latlong) Your carriage returns worked great, only thing is that they are left- justified, any idea how to center justify inside a marker? MIL GRACIAS!!! I've tried to turn my soul over to the reference, but it won't take me. Cameron On Mar 30, 2:36 pm, Shaun <[email protected]> wrote: > var myCustomFormat:TextFormat = new TextFormat(); > myCustomFormat.color=0xFF0000; > myCustomFormat.size=14; > myCustomFormat.font="Times New Roman"; > 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}), > label: "Red\nRock\nCanyon", > labelFormat: myCustomFormat, > hasShadow: true > > })) > map.addOverlay(m_RedRockCanyon); > > If the font isn't a client side system font you'll need to embed it (I > suggest a style sheet version of this as it seems cleanest/easiest to me). > Also notice the carriage returns I added... honestly not sure if those'll > work cause it depends on the underlying control that it assigns the text to > but I'm assuming a TextField since it takes a TextFormat for the labelFormat > parameter and the TextField.setFormat is the only class I know that uses the > TextFormat, that also depends on the instance they create internally having > multiline=true set on it. Don't worry it's not you it's the documentation, > you have to sacrifice your soul to it and in a symbiotic union it reveals > itself to you... :) -- 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.
