var label 1 is defined from xml 'gmaps3.xml' when the browser loads and parses it. i have browser tested it with ie8, ff, and chrome so far
On Aug 6, 8:21 pm, "[email protected]" <[email protected]> wrote: > On Aug 6, 3:15 pm, BB in Canada <[email protected]> wrote: > > > I played with that one earlier. > > > My problem is that none of the methods I have tried in order to > > retrieve the lat, lng values to compose the 'daddr' variable seem to > > work! My lat, lng variables are built right into the xml, but > > whenever I try to parse it for them, it fails. > > > I also tried to feed in a string containing the address. This did not > > work. > > Then, I tried running either into a URL and just link that externally > > (another of Williams' suggestions). This failed. > > I am considering throwing in the towel on this one; it's confounding. > > It is definitely doable. Right now I am getting javascript errors on > your page: > (IE6 so rudimentary) > > Line: 228 > Error: 'label1' is undefined > > That is because 'label1' is undefined in this function on line 228: > function tohere() { > gmarkers[i].openInfoWindowTabsHtml([new GInfoWindowTab > (label1,html1+'<br>'+to_htmls), new GInfoWindowTab(label2,html2), new > GInfoWindowTab(label3,html3)], {"maxWidth":400}); > > } > > Where do you think the value of label1 comes from inside that > function? > > -- 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 -~----------~----~----~----~------~----~------~--~---
