Re: XML Feed to Map

2009-07-08 Thread Rossko
> Sorry Ralph, but I don't think we are on the same page. What I meant > by the "added an alert" was merely to show that the > "request.readyState" returns a one (1). Yet the if statement is > expecting a four (4). So it never drops into the if /endif segment of > code to process the xml file. Ye

RE: XML Feed to Map

2009-07-08 Thread Ralph Ames
>Adding "request.send(null); " works for me too, > but the code does not process markers from an xml feed -- which is what I am ultimately > attempting to do. The code does not process the markers because you are trying to read attributes. See my previous posts. Ralph --~--~-~--~

Re: XML Feed to Map

2009-07-08 Thread Dr. Dot
Sorry Ralph, but I don't think we are on the same page. What I meant by the "added an alert" was merely to show that the "request.readyState" returns a one (1). Yet the if statement is expecting a four (4). So it never drops into the if /endif segment of code to process the xml file. Adding "requ

RE: XML Feed to Map

2009-07-08 Thread Ralph Ames
>I added an alert popup box to show me the >request.readyState. I replaced the alert with request.send(null); worked ok for me. Ralph --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Maps API" gr

Re: XML Feed to Map

2009-07-08 Thread Dr. Dot
Thanks Ralph. But I think the problem ensues earlier than the point/ points statements. I added an alert popup box to show me the request.readyState. It is "1". Yet the code I borrowed (from somewhere, can't remember where I go it) tests request.readyState for "4". So the script does not even drop

Re: XML Feed to Map

2009-07-07 Thread Mike Williams
Wasn't it Dr. Dot who wrote: > >I think I figured out that v3 does not yet support GDownloadUrl() or >GXmlHttp.create() so I am going back to version2 to try to create an >XML feed into my map. It's not intended that it ever will. For features that are not directly map related, like fetching dat

RE: XML Feed to Map

2009-07-07 Thread Ralph Ames
>http://phonecaps.com/xmlMap.html Try this var name = GXml.value(points[i].getElementsByTagName("name")[0]); Ralph --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, s

RE: XML Feed to Map

2009-07-07 Thread Ralph Ames
>http://phonecaps.com/xmlMap.html This line is accessing an attribute var name = points[i].getAttribute("name"); but point in the xml file has no attributes. Ralph --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google