Where do you have the color in your feed? As Larry pointed out in an
earlier post, you have 4 parts but part 5, which is the color, so that
turns out to be undefined, then you pass it to your create marker
function but don't use it, instead you use an empty array. I suggest
you go through the logic and data once more, and follow how it is
running vs. how you want it to run. Using an HTML feed instead of XML
has made your life more complicated, but that's a choice you've
already made and probably should stick with it.

I think the basic problem is you're not using the debugging tools
available like Firebug, which is how most developers solve their
problems. With this tool, you can step through the execution of your
code and see what values each variable is assigned. Also, making a
simple data stream and using that in test mode will make it easier to
see what's working and what's not. Once you get the basics working you
can add lots of data and see it function the way you want.

A common mistake made by beginning programmers is to try and code
everything first, and then through some sort of miracle, expect it to
work exactly as they've hoped. A seasoned programmer uses a step by
step approach: code - test - debug - code - test - debug. Each time
more code is added, test and debug that new code. This way, when the
program, page or whatever is finished, it actually works, or has a
minor bugs that are easy to find. Using the "hope it all works" method
is virtually impossible to do, unless you're Data from Star Trek.

-John Coryat

http://maps.huge.info

http://www.usnaviguide.com
--~--~---------~--~----~------------~-------~--~----~
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