On Mar 9, 5:22 pm, "[email protected]" <[email protected]>
wrote:
> On Mar 9, 5:11 pm, BuckyE <[email protected]> wrote:
>
> > OK, you guys knew that if you ignored me long enough I'd do something.
> > The latest version of my test map is 
> > athttp://lovebunnies.luckypro.biz/01_stuff/roman_holiday/romanholidayma....
> > I've managed to get the code reading the XML doc and putting in
> > something for polylines. They even show up as a category in my
> > sidebar!
>
> > But the text in the sidebar says "undefined," and I get a Firebug
> > error that points to a Google script. Sadly, that tells me nothing.
> > Can anyone get me further along? That would be greatly appreciated.
>
> Your function  createmarguttalines
> is defined as:
>       function createmarguttalines
> (pts,color,width,label,html,lat,lng,header,category) {
>
> but you call it with:
>           var line = createmarguttalines(pts,color,width);
> Therefore the label,html,lat,lng,header,category parameters are not
> defined.
>

Also, this line:
          var points = GXml.value(lines[a].getElementsByTagName
("point"));

shouldn't be calling GXml.value on the array of point elements that
are being returned...

          var points = lines[a].getElementsByTagName("point");

your createblackandwhiteMarker function does this:
        marker.myname = label;

but your createmarguttalines function does this:
        line.mylabel = label;

So when makeSidebar goes to use basemarkerslinespolys[i].myname, it
doesn't exist for the lines...

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