On Mar 10, 8:28 am, BuckyE <ex...@luckypro.biz> wrote: > I hope I can get this reply to post. My godforsaken ISP --which shall > remain nameless to stop this thread being googled by a million irate > customers-- won't let me upload files at the moment. So I'll run some > errands for a couple hours and see what I can do later. > > Larry, your demo page is brilliant! Now I have to learn how to write > the GLog. Neato! I don't see the lines drawing on your page (Macintosh > Firefox v3.0.6, OS 10.4.11). But I have a new page that draws the > lines, but not the -gons.
There is no code in my page (nor was there any in your page when I looked) to display polygons. > > I've got a page local, that I can't upload, drawing the lines, but not > the -gons. And your comment about "hard to see" brings up an issue all > around. At the normal zoom level for my map, you're right, the > margutta lines and -gons are just a smudge. I could see that when we > were working on the Garden Shed Size Polygon Problem. So I've managed > to enable the "Show via Margutta" checkbox to zoom in on that area and > switch to satellite. Now, though, I'm uncertain how the map should > work. I'm coming around to thinking the margutta stuff should only > Show and appear in the sidebar when the Show via Margutta checkbox is > checked and the map is zoomed in. > > I can't show/hide my lines and -gons. I've read that function may not > always be available? am I running into that problem? How are you testing it? > > I'll post here again when I can get a new page up. Can't thank you > enough for sticking with this. The GLog functions are amazing! Such a > help. OK, see everyone in a few hours. > > On Mar 10, 9:15 am, "geocode...@gmail.com" <geocode...@gmail.com> > wrote: > > > > > On Mar 10, 6:02 am, "geocode...@gmail.com" <geocode...@gmail.com> > > wrote: > > > > On Mar 10, 5:29 am, BuckyE <ex...@luckypro.biz> 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, "geocode...@gmail.com" <geocode...@gmail.com> > > > > wrote: > > > > > > On Mar 9, 5:22 pm, "geocode...@gmail.com" <geocode...@gmail.com> > > > > > wrote: > > > > > > > On Mar 9, 5:11 pm, BuckyE <ex...@luckypro.biz> 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- 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 Google-Maps-API@googlegroups.com To unsubscribe from this group, send email to google-maps-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---