var myMarkerOptions:MarkerOptions = new MarkerOptions();
myMarkerOptions.icon = new MyIconLibName();

where MyIconLibName is the custom icon in your library.
And of course you can load an external asset with the loader and link
this to the icon-property.
Just make sure it is a DisplayObject.



On 29 jan, 12:14, bernattorras <[email protected]> wrote:
> Hi,
>
> I just wanna know how can I specify a custom icon to represent my
> markers. (linked by an URL, for example)
>
> This is how I define my markers:
>
> var markerA:Marker = new Marker(map.getCenter(), new MarkerOptions
> ({draggable: false}));
>
> So, is there any MarkerOptions to declare the marker icon?
>
> Thanks a lot!
>
> Bernat Torras
--~--~---------~--~----~------------~-------~--~----~
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