Hi Mat-

To get it to show up, you need to set an appropriate width/height on
your Label object.

- pamela

On Sun, Jan 18, 2009 at 9:36 AM, mat <[email protected]> wrote:
>
> Hi
>
> Im trying to use the Flex Label class for a Marker but it doesnt seem
> to work. This is my code:
>
> var options:MarkerOptions = new MarkerOptions();
> var label:Label = new Label();
> label.text = "marker";
> options.icon = label;
> options.iconOffset = new Point(-5, -5);
>  var marker:Marker = new Marker( someLatLng, options );
> map.addOverlay(marker);
>
> From the documentation I would have thought it would work since Label
> is a subclass of DisplayObject?
>
> regards
> >
>

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