On May 27, 11:30 am, Nick <livingxsacrif...@gmail.com> wrote: > Thanks Ross and Larry. > > I found that error in my console as well. I am not sure how to fix it > though. Could you give me an example? > Every time I try to move my code around my map doesn't appear when I > run it. > > >This works: > >http://www.geocodezip.com/GenericMapBrowser.asp?url=http://www2.stets... > > -- Larry > > that map is great but im trying to do it with checkboxes for all of > the markers instead of links in the sidebar. > > I've been playing around with this code all day and I can't seem to > make it work.
Your version is currently broken. You can either use a debugger to understand where yours is broken (or read and understand Rossko's message), or start from a working version and slowly add functionality until it works the way you want. You can also search the group for other examples that might make more sense to you than mine if mine doesn't help. -- Larry > > -Nick > > On May 26, 4:53 pm, Rossko <ros...@culzean.clara.co.uk> wrote: > > > > > > Here is the link for the > > > map:http://www2.stetson.edu/media/map/StetsonMap.html > > > Gives me a javascript error - lat is not defined in the line > > var point = new GLatLng(lat,lng); > > in your GDownloadUrl routine. This is after it has read all the > > markers fromXML, but before it reads the tab for just the last one. > > > Somehow I don't think that's what you intended, you have the tab > > reading code outside of the loop that reads the markers - shouldn't it > > be inside, so that it reads theinfofor each marker as you process > > e.g. the lat/longs too? > > > cheers, Ross K- 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 -~----------~----~----~----~------~----~------~--~---