On Mar 10, 6:02 am, "[email protected]" <[email protected]>
wrote:
> On Mar 10, 5:29 am, BuckyE <[email protected]> wrote:
>
> > Terrific! Thank you for such a great fine tooth combing. The page is
> > riddled with stupid copying errors. I found some more. Now the sidebar
> > works, kind of. At least the script is reading the labeling from the
> > XML, so I see the names in the sidebar.
>
> > The polylines and -gons aren't being drawn. And I see I've got an
> > unanticipated problem with my side bar. The current code calls a
> > mouseover that switches icons, which of course is irrelevant and
> > broken for the poly sidebar items. I have to find a way to
> > discriminate between the polys and the iconed markers and do different
> > things for each. I'm getting there! Thanks, thanks, thanks!
>
> I noticed some of those:http://www.geocodezip.com/romanholidaymap_polys.asp

BTW - your polylines are being drawn (at least in Chrome), it is just
really hard to see yellow on top of the map or hybrid tiles, and the
map doesn't center and zoom to show the area (you have to move to see
them).

  -- Larry


>
>
>
> > On Mar 9, 8:48 pm, "[email protected]" <[email protected]>
> > wrote:
>
> > > 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