Google Groups Home
Help | Sign in
Does Google Maps Really Support GeoRSS Lines?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  8 messages - Collapse all
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
TYR  
View profile
 More options Oct 7, 8:34 am
From: TYR <a.harrow...@gmail.com>
Date: Tue, 7 Oct 2008 06:34:00 -0700 (PDT)
Subject: Does Google Maps Really Support GeoRSS Lines?
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.


    Reply    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.
Barry Hunter  
View profile
 More options Oct 7, 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...

--
Barry

- www.nearby.org.uk - www.geograph.org.uk -


    Reply    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.
TYR  
View profile
 More options Oct 7, 9:06 am
From: TYR <a.harrow...@gmail.com>
Date: Tue, 7 Oct 2008 07:06:44 -0700 (PDT)
Local: Tues, Oct 7 2008 9:06 am
Subject: Re: Does Google Maps Really Support GeoRSS Lines?
On Oct 7, 2:48 pm, "Barry Hunter" <barrybhun...@googlemail.com> wrote:

> 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...

Oh God. Google Maps happily renders it but the GMaps API chokes on it?

    Reply    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.
Garthan  
View profile
 More options Oct 7, 9:33 am
From: Garthan <lance...@inetnebr.com>
Date: Tue, 7 Oct 2008 07:33:13 -0700 (PDT)
Local: Tues, Oct 7 2008 9:33 am
Subject: Re: Does Google Maps Really Support GeoRSS Lines?
You can make a kml that fails in google earth.... but works fine in
the API
... my GeoXml parser can make sense of things and find styles created
with
Google Earth that dont work in GGeoXml ..

 test everywhere...

On Oct 7, 9:06 am, TYR <a.harrow...@gmail.com> wrote:


    Reply    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.
Garthan  
View profile
 More options Oct 7, 9:33 am
From: Garthan <lance...@inetnebr.com>
Date: Tue, 7 Oct 2008 07:33:13 -0700 (PDT)
Local: Tues, Oct 7 2008 9:33 am
Subject: Re: Does Google Maps Really Support GeoRSS Lines?
You can make a kml that fails in google earth.... but works fine in
the API
... my GeoXml parser can make sense of things and find styles created
with
Google Earth that dont work in GGeoXml ..

 test everywhere...

On Oct 7, 9:06 am, TYR <a.harrow...@gmail.com> wrote:


    Reply    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.
Barry Hunter  
View profile
 More options Oct 7, 9:43 am
From: "Barry Hunter" <barrybhun...@googlemail.com>
Date: Tue, 7 Oct 2008 15:43:14 +0100
Local: Tues, Oct 7 2008 9:43 am
Subject: Re: Does Google Maps Really Support GeoRSS Lines?

On Tue, Oct 7, 2008 at 3:06 PM, TYR <a.harrow...@gmail.com> wrote:

> On Oct 7, 2:48 pm, "Barry Hunter" <barrybhun...@googlemail.com> wrote:
>> 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...

> Oh God. Google Maps happily renders it but the GMaps API chokes on it?

You didnt say that! I just stopped at the first error I found.

See the bit about using Firefox in 'Other points to consider'
http://groups.google.com/group/Google-Maps-API/web/suggested-posting-...
(Hint: javascript is case sensitive)


--
Barry

- www.nearby.org.uk - www.geograph.org.uk -


    Reply    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.
TYR  
View profile
 More options Oct 7, 10:19 am
From: TYR <a.harrow...@gmail.com>
Date: Tue, 7 Oct 2008 08:19:12 -0700 (PDT)
Local: Tues, Oct 7 2008 10:19 am
Subject: Re: Does Google Maps Really Support GeoRSS Lines?
I
On Oct 7, 3:43 pm, "Barry Hunter" <barrybhun...@googlemail.com> wrote:

> On Tue, Oct 7, 2008 at 3:06 PM, TYR <a.harrow...@gmail.com> wrote:

> > On Oct 7, 2:48 pm, "Barry Hunter" <barrybhun...@googlemail.com> wrote:
> >> 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...

> > Oh God. Google Maps happily renders it but the GMaps API chokes on it?

> You didnt say that! I just stopped at the first error I found.

I've now altered the program that generates the GeoRSS and the feed is
valid, but it doesn't help. The Firefox error console shows "GGeoXML
is not defined". I disagree - http://code.google.com/apis/maps/documentation/services.html#XML_Over...
does as well. I defined a var for it, then called it giving the URL as
an argument.

    Reply    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.
geocodezip@gmail.com  
View profile
 More options Oct 7, 11:54 am
From: "geocode...@gmail.com" <geocode...@gmail.com>
Date: Tue, 7 Oct 2008 09:54:33 -0700 (PDT)
Local: Tues, Oct 7 2008 11:54 am
Subject: Re: Does Google Maps Really Support GeoRSS Lines?
On Oct 7, 8:19 am, TYR <a.harrow...@gmail.com> wrote:

It seems to work in IE6...

    Reply    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.
End of messages
« Back to Discussions « Newer topic     Older topic »

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