Hi bizpo-
Try new blueIcon() for the icon property.

- pamela

On Sat, Nov 1, 2008 at 9:05 AM, bizpo <[EMAIL PROTECTED]> wrote:

>
> I tried replacing the marker with a png file in FlexBuilder - I think
> I am close but it is not using the png file as the marker. I read the
> discussions and looked at the simple maker code but couldn't get it to
> work. I used the blue-dot.png file. I placed it in my src directory.
> Thanks -
>
> //Imy delcaration
> [Embed(source="blue-dot.png")] private var blueIcon:Class;
>
> // Create the penguin marker
>        myMarker= new Marker(new LatLng(30.26615,-97.73967),
>        new MarkerOptions({
>        draggable: false,
>        iconAlignment: (MarkerOptions.ALIGN_BOTTOM |
>                          MarkerOptions.ALIGN_HORIZONTAL_CENTER),
>        displayObject: {
>          icon: blueIcon
>          }
>        }));
>        setControls(true);
>      });
>
>
> >
>

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

  • Marker Icon bizpo
    • Re: Marker Icon pamela (Google Employee)

Reply via email to