Google Groups Home
Help | Sign in
Message from discussion Does Google Maps Really Support GeoRSS Lines?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Barry Hunter  
View profile
 More options Oct 7 2008, 8:48 am
From: "Barry Hunter" <barrybhun...@googlemail.com>
Date: Tue, 7 Oct 2008 14:48:57 +0100
Local: Tues, Oct 7 2008 8:48 am
Subject: Re: Does Google Maps Really Support GeoRSS Lines?
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/vi...

On Tue, Oct 7, 2008 at 2:34 PM, TYR <a.harrow...@gmail.com> 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 -


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google