The XML parser is quite strict, possibly a good idea to tackle these first:
http://feedvalidator.org/check.cgi?url=http://www.harrowell.org.uk/viktorfeed.xml On Tue, Oct 7, 2008 at 2:34 PM, TYR <[EMAIL PROTECTED]> wrote: > > Struggling to get a GeoRSS feed to display on the map...here's the > relevant code. The page displays, with map, with controls, but without > overlays, and the reload() function (as it applies to the overlay) > doesn't. Link: http://www.harrowell.org.uk/viktormap.html > > var map; > var geoxml; > > function load() { > if (GBrowserIsCompatible()) { > map = new GMap2(document.getElementById("map")); > map.setCenter(new GLatLng(25.252778, 55.364444), 6); > map.setMapType(G_NORMAL_MAP); > map.addControl(new GLargeMapControl()); > map.addControl(new GMapTypeControl()); > geoXml = new GGeoXML("http://www.harrowell.org.uk/ > viktorfeed.xml"); > map.addOverlay(geoXml); > } > } > function reload() { > map.removeOverlay(geoXml); > geoXml = new GGeoXML("http://www.harrowell.org.uk/ > viktorfeed.xml"); > map.addOverlay(geoXml); > } > //]]> > </script> > </head> > > <body onload="load()" onunload="GUnload()"> > <div id="map" onkeypress="reload()" style="width: 500px; height: > 300px;"></div> > > The feed contains GeoRSS Simple Line objects. > > > > -- Barry - www.nearby.org.uk - www.geograph.org.uk - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
