I think i got the problem I just have to replace the lng and lat together! I still do not know why this id different than Gmarker parsing methos but it works now Thanks Mike, Rossko and all who help me
On Thu, Nov 25, 2010 at 2:10 PM, Behrouz Hosseini <[email protected]>wrote: > Thanks for you help > I was not getting any error on any of IE, Moz, and Chrome! > I fixed the > > > var xml = GXml.parse(point); > var lines = xml.documentElement.getElementsByTagName("line"); > > But still not getting the result.am I parsing the correct element here? I > mean the (point) for polylines? > > > > > > On Thu, Nov 25, 2010 at 1:48 PM, Rossko <[email protected]>wrote: > >> > <http://www.behseini.easypagez.com/>as you can see I can add 3 markers >> from >> > the XML file but not the poly lines! >> >> I get a straightforward javascript error. >> "xmlDoc is not defined" >> Do you not see an error message in your browser? >> >> It comes from these lines in your addLines() function >> var xml = GXml.parse(point); >> var lines = xmlDoc.documentElement..... >> Compare these with the similar lines in your addMarkers() function >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Google Maps API V2" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]<google-maps-api%[email protected]> >> . >> For more options, visit this group at >> http://groups.google.com/group/google-maps-api?hl=en. >> >> > -- You received this message because you are subscribed to the Google Groups "Google Maps API V2" 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.
