[OpenLayers-Users] read Format.GeoRSS from http request
Christopher Schmidt
crschmidt at metacarta.com
Fri Jul 11 07:44:22 EDT 2008
On Fri, Jul 11, 2008 at 12:50:32PM +0200, Fabio D'Ovidio wrote:
> Hi!
> I know I can read Georss from url like in the examples using Layer.GeoRSS.
> Now I am using OpenLayers.Format.GeoRSS because I need to insert GML in
> the RSS envelop returned from GeoServer as WFS 1.0.0 request
> Now, thi is my code:
Try this instead.
var l = new OpenLayers.Layer.GML("GeoRSS", "http://myurl/", {format:
OpenLayers.Format.GeoRSS});
map.addLayer(l);
Regards,
--
Christopher Schmidt
MetaCarta
More information about the Users
mailing list