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