Hi Tom- You could try: 1) creating a Sprite, adding both the image and text to that Sprite, and specifying that Sprite as the icon? or 2) calling addChild on the foreground property of the Marker object.
Try #2 first, as that'll be much easier. - pamela On Tue, Oct 14, 2008 at 12:20 PM, tomcattyy <[EMAIL PROTECTED]> wrote: > > Thanks Pamela, > > I am currently using custom icon and I just need to place a simple > character together with the icon (just like a label did to the > original marker). I remember label can not be used when using icon and > I want to identify them so user can match the details showing in the > datagrid which is below the google map. Thanks for helping. > > Mark > > On Oct 13, 9:07 pm, "pamela (Google Employee)" <[EMAIL PROTECTED]> > wrote: >> Hi Tom- >> >> I'm not sure exactly what visual effect you're going for, but you have >> several options. >> >> Use label property in MarkerOptions (for just a few >> characters):http://gmaps-samples-flash.googlecode.com/svn/trunk/demos/MarkerOptio... >> >> Use icon property in MarkerOptions to define custom >> DisplayObject:http://gmaps-samples-flash.googlecode.com/svn/trunk/demos/CustomShape... >> >> Create a custom overlay to show text (tooltips >> example):http://gmaps-samples-flash.googlecode.com/svn/trunk/demos/TooltipOver... >> >> - pamela >> >> >> >> On Tue, Oct 14, 2008 at 3:56 AM, tomcattyy <[EMAIL PROTECTED]> wrote: >> >> > Hello everyone, >> >> > I am trying to add a text desc together with marker, I first try to >> > addChild from the marker but it seemed marker did not allow that. So I >> > am thinking if I can add text onto overlay with latlng info. Is there >> > a sample or reference I can refering to? Thanks- Hide quoted text - >> >> - Show quoted text - > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
