Thanks for the help. I had recently added the "web developer addon" and didnt realize the dom script was turned off.
again thanks, its working. On Sep 5, 7:28 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > On Sep 5, 5:19 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > wrote: > > > > > On Sep 5, 4:57 pm, daniel <[EMAIL PROTECTED]> wrote: > > > Hello, > > > > I am having some difficulty getting polylines to display when a > > > checkbox is checked. > > > > Using this tutorial:http://econym.googlepages.com/basic7.htm > > > > What I am trying to do is take the data from the xml, build the > > > polyline an store that in an array (not sure if that part is needed). > > > There will be anywhere from 8 - 12 routes. > > > > Using another of Mikes tutorials, I had created a function to "build" > > > the polyline then store it in an array. (I am unsure about passing > > > the pts[] that holds the lat/long points). > > > > I saw this:http://www.geocodezip.com/samicbc_simple4d.asp > > > > and I saw all the new GPoints and I am wondering if I need to do > > > something like that instead. > > > No, that is the way the original coder wrote it. Feel free to make it > > better... > > > > Here is a link to my map.http://dajohnson1s.dvrdns.org > > > You are having issues with the British vs. American spelling of color/ > > colour > > Error: 'color' is undefined. (should be colour) > > Error: 'weight' is undefined. (should be width) > > Error: 'polys' is undefined. (define polys = []; at the top) > > > Then you get a green polyline (all the time...). I don't see a call > > to showPoly, was it supposed to be called by the "Green Line" check > > box? > > you are also setting category to the "html" attribute which is null > (so the check box didn't work even when I changed it to showPoly. > > > > > I suggest you either turn on error reporting in IE > > Use the Error Console in Firefox > > or use the Error Console in Opera > > or use another debugger, these types of errors should be easy to fix. > > See the troubleshooting sections of the documentation and Mike > > Williams' tutorial. > > > -- 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 [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 -~----------~----~----~----~------~----~------~--~---
