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