Thanks Again but now I am totally confused, forgive me for not
getting it but I'm still learning, I guess i will go back to using one
color at least i could get that to work :)

On Sep 8, 1:26 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> On Sep 8, 10:03 am, Ahunter61 <[EMAIL PROTECTED]> wrote:
>
> > Thanks Larry
> > I got the errors fixed but I'm still having problems with the feed, if
> > I add a separator ( I ) Then put either blue or red  I still get no
> > change to my icons
>
> Try adding this:
> GLog.write(label+"["+parts.length+"]:("+lat+","+lng+")|"+html
> +"|"+maxContent+"|"+icontype);
> to your loop that processes your feed (just before you call
> createMarker).
>
> You will see that the last field is always "undefined" (so you get the
> default markers), you need to fix your feed so it is "red" or "blue"
> for the appropriate markers.  FYI - most of your entries only have 4
> parts (0-3), the first few have 5 parts (0-4), so parts[5] is always
> undefined.
>
>    -- Larry
>
>
>
> > On Sep 8, 11:26 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> > wrote:
>
> > > On Sep 8, 8:05 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> > > wrote:
>
> > > > On Sep 8, 7:16 am, Ahunter61 <[EMAIL PROTECTED]> wrote:
>
> > > > > Ok I tried it again and it goes from what i started 
> > > > > fromhttp://conneroutdoors.com/Alabama_Guides.htmltothisafterhttp://conner...
>
> > > > Do you not know how to see your javascript errors? See the
> > > > troubleshooting section of the 
> > > > documentation:http://code.google.com/apis/maps/documentation/index.html#Troubleshoo...
> > > > or this section of the 
> > > > Mapki:http://mapki.com/index.php?title=Read_This_First#Javascript_Errors
>
> > > > IE tells me:
> > > > Line: 151
> > > > Error: Expected ')'
>
> > > > This is line 151:
> > > >       gicons["blue"] = new GIcon(iconBlue.image = 'http://
> > > > labs.google.com/ridefinder/images/mm_20_blue.png';
>
> > > > should be gicons["blue"] = new GIcon();
>
> > > > then assign properties to it...
> > > > gicons["blue"].image = 'http://labs.google.com/ridefinder/images/
> > > > mm_20_blue.png';
>
> > > > See if this example 
> > > > helps:http://www.geocodezip.com/v2_basic8h.asp?filename=example_icons.xml
>
> > > You also have a problem with your "feed", it only has 5 "parts" (0-4),
> > > the icontype (part[5]) is always undefined...
>
> > >   -- Larry
>
> > > > > On Sep 8, 9:01 am, Ahunter61 <[EMAIL PROTECTED]> wrote:
>
> > > > > > Sorry i deleted my changes because they did not work , I will try
> > > > > > again then post new link
>
> > > > > > On Sep 8, 8:28 am, "warden [Andrew Leach - Maps API Guru]"
>
> > > > > > <[EMAIL PROTECTED]> wrote:
> > > > > > > On Sep 8, 1:19 pm, Ahunter61 <[EMAIL PROTECTED]> wrote:
>
> > > > > > > >   I tried using Mike's example #16 Associative arrays and custom
> > > > > > > > icons, But I could not get it to work with the  file I'm using, 
> > > > > > > > The
> > > > > > > > file is set up the same as in Mike's Part 37 Using pseudo-HTML 
> > > > > > > > data
> > > > > > > > files for maxContent. which works great, and what I would like 
> > > > > > > > to add
> > > > > > > > is something like-
> > > > > > > > var icontype = parts [5] and set the marker  from there 
> > > > > > > > using"blue" or
> > > > > > > > "red". here's a linkhttp://www.conneroutdoors.com/alabama.html
>
> > > > > > > I can't see any attempt to use red icons in that page.
>
> > > > > > > > Also following Pamela's example for max content is there a way 
> > > > > > > > to use
> > > > > > > > the "label" which is part 0  also for the maxtitle ? thanks Pete
>
> > > > > > > Why not give a link so we can understand what you have tried? It 
> > > > > > > may
> > > > > > > be a question of pointing out something obvious (like a typo, 
> > > > > > > which
> > > > > > > does happen) rather than actually writing the code for you.
>
> > > > > > > Andrew- Hide quoted text -
>
> > > > > - Show quoted text -- Hide quoted text -
>
> > > > - Show quoted text -- Hide quoted text -
>
> > - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to