Could the fact that the file is named data.xml instead of data.kml be the problem?
On Mar 12, 5:01 pm, ChristopherR <[email protected]> wrote: > I'm very much a novice at this. My code was copied, pasted and > modified until it worked for my application (from a Web site that > encouraged it) but I don't fully understand how or why it worked, > therefore I'm completely in the dark as to why it suddenly doesn't > work anymore. I'm even more baffled that earlier in the day other > people were seeing the marks, but I still wasn't no matter which > browser I used. > > On Mar 12, 4:56 pm, David C <[email protected]> wrote: > > > FeedValidator does accept > > > <kml xmlns="http://earth.google.com/kml/2.0"> > > > but Google still doesn't like the file after the change, but it won't > > say why. > > > I downloaded a copy of the map to my own web server to look at the > > issue and what I find curious, and maybe it's my misunderstanding of > > the way GGeoXML works, is that my web server never receives a request > > for the data file. There's a GET request from my browser for map.html, > > but there is no subsequent GET request for data.xml. > > > Since GGeoXml requires that the file be located on a publicly > > available server I expected to see a GET for the data file from a > > Google server, and there is none (a Google server did GET the file > > when I substituted my path for yours in the maps.google.com link > > previously mentioned). If a Google server is supposed to be GETting > > the file, and it doesn't, that would explain why none of the data in > > the file is added to the map. > > > On Mar 12, 1:28 pm, ChristopherR <[email protected]> wrote: > > > > The problem according to feedvalidator seems to be with this little > > > snippet of code: <kml xmlns="http://www.opengis.net/kml/2.2"> > > > Is there a better version of that I could use? > > > > On Mar 12, 3:43 pm, "[email protected]" <[email protected]> > > > wrote: > > > > > On Mar 12, 12:35 pm, ChristopherR <[email protected]> wrote: > > > > > > I certainly appreciate your help on this. > > > > > > I've corrected that line and I'm not getting an error when I access > > > > > directly now, but I still don't see any markers. > > > > > Google doesn't like the kml > > > > still:http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=http:%2F%... > > > > > (http://www.mennoniteusa.org... could not be displayed because it > > > > contains errors.) > > > > > Neither does > > > > feedvalidator:http://feedvalidator.org/check.cgi?url=http%3A%2F%2Fwww.mennoniteusa.... > > > > > But those errors don't seem like they should be fatal... > > > > > -- Larry > > > > > > On Mar 12, 3:22 pm, Rossko <[email protected]> wrote: > > > > > > > > That's what you should see, I'm just not seeing it no matter which > > > > > > > browser I use... > > > > > > > Tried again with FF2, no markers now. > > > > > > Accessing the KML directly gives - > > > > > > XML Parsing Error: not well-formed > > > > > > > > > > > > Location:http://www.mennoniteusa.org/Portals/0/TestWebMap/data.xml > > > > > > Line Number 2, Column > > > > > > 13:<xmlns:kml20="http://earth.google.com/kml/ > > > > > > 2.0"> > > > > > > ------------^ [pointing at the = sign] > > > > > > > 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 [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 -~----------~----~----~----~------~----~------~--~---
