NJ-
Change:
var markerLocal:Marker = new Marker(latlng, new MarkerOptions());
to:
var markerLocal:Marker = new Marker(latlng, markerOptions);
- pamela
On Thu, Nov 27, 2008 at 2:50 AM, NJgirl <[EMAIL PROTECTED]> wrote:
>
> I'm sorry, I am looking at my code and I cannot figure out how to do
> that. Can you help me?
> Thanks!
> I'm still new!
> Clare
>
> On Nov 24, 12:36 am, "pamela (Google Employee)" <[EMAIL PROTECTED]>
> wrote:
>> Hi NJGirl-
>> I'm guessing the problem is that you've declared a MarkerOptions object with
>> the FillStyle, but you're not actually using it in the Marker constructor:
>>
>> var fillStyle:FillStyle = new FillStyle({color: categories[type].color});
>> markerOptions.fillStyle = fillStyle;
>>
>> var markerLocal:Marker = new Marker(latlng, new MarkerOptions());
>>
>> You should pass markerOptions into the constructor.
>>
>> - pamela
>>
>> On Fri, Nov 21, 2008 at 9:13 AM, NJgirl <[EMAIL PROTECTED]> wrote:
>>
>> > Hi. I have included the file. As it shows, I changed the Hex values
>> > for the markers but the colors did not change. There are no errors in
>> > the file other than the markers which I tried to embed. I don't know
>> > what to do to change the color per category. Maybe I just wrote it the
>> > wrong way. That is the only major thing left in my project that I need
>> > to fix.
>> > Thank you!!
>> > Clare
>>
>> > On Nov 18, 9:49 pm, "pamela (Google Employee)" <[EMAIL PROTECTED]>
>> > wrote:
>> > > Hi Clare-
>> > > If you upload the code to the "Files" section in the group, then it will
>> > be
>> > > easier for us to debug your code.
>>
>> > > - pamela
>>
>> > > On Tue, Nov 18, 2008 at 4:19 AM, NJgirl <[EMAIL PROTECTED]> wrote:
>>
>> > > > Hi. I am using the PHP and xml marker categories demo.
>> > > > link here:
>> > > >http://gmaps-samples-flash.googlecode.com/svn/trunk/demos/MarkerCateg.
>> > ..
>>
>> > > > And I am new at this.
>>
>> > > > I can't get any custom icons to come up. I just want the teardrop icon
>> > > > in different colors to come up. I have changed the Hex values in the
>> > > > code and that does nothing. I have tried to Embed the images and save
>> > > > them to my server but I am getting errors (unable to transcode) doing
>> > > > that. What should I do? Do I need as many images embedded as I have
>> > > > categories? Not sure how that part works.
>> > > > The map is working with the default marker with no other errors.
>> > > > It gives the same transcoding errors also when I use just the same
>> > > > text that is in the demo.
>>
>> > > > Can anyone help?
>> > > > Thanks!
>> > > > Clare
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---