[OpenLayers-Users] Problem with georss.js in internet explorer

Maxime Phaneuf maxime.phaneuf at usherbrooke.ca
Tue May 19 20:14:03 EDT 2009


Hi guys.

I succeeded in developping a georss loading with openlayers, mapfish and
extjs. It works well in Firefox, and Chrome, but when I try to load a GeoRSS
file, this error appears: 

object required in georss.js, line:147, character: 17.

When someone select a specific GeoRSS file, here's what happens (for
example, georss_test.xml has ID number 0):

if (id == 0) {
	var rss = 'georss.xml';
        addUrl(rss);
}

function addUrl(feed) {
	var newl = new OpenLayers.Layer.GeoRSS( feed[feed.length-1], feed);
	map.addLayer(newl);
}

I based this on the example in:
http://openlayers.org/dev/examples/georss.html

As I said, it works in both Firefox and Chrome, but it doesn't seem to work
in IE.

I looked in georss.js, and it seems the problem comes from a title missing
in the georss file, but when I debug with firebug, there seems to be no
problem.

Can someone help me?

Thank you,

Maxime Phaneuf


-- 
View this message in context: http://n2.nabble.com/Problem-with-georss.js-in-internet-explorer-tp2943273p2943273.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.




More information about the Users mailing list