[OpenLayers-Users] GeoRSS

Eric Lemoine eric.c2c at gmail.com
Fri Jul 4 13:46:11 EDT 2008


Yes, you can't use the GeoRSS layer. Your code isn't correct, remove
the new, what you pass to the layer is the class object, not a class
instance. Eric

2008/7/4, Fabio D'Ovidio <fabiodovidio at gmail.com>:
> Hi!
> I read openlayers 2.6 improved GeoRSS Format support, including GeoRSS
> GML read support
> http://trac.openlayers.org/wiki/Release/2.6/Announce/Final
>
> I assume, in order to display polygon and line GeoRSS, I must create an
> OpenLayers.Layer.Vector layer with the features created from the feed
> using OpenLayers.Format.GeoRSS.read.
> I can't use OpenLayers.Layer.GeoRSS. Is it right?
>
> Could another solution be as following?
>
> var georssformat = new OpenLayers.Format.GeoRSS;
>         var gmllayer = new OpenLayers.Layer.GML("Test", "rss.xml",
> {'format': georssformat});
>
> Thanks
>
>
>
> Paul Spencer ha scritto:
>> Please check the OpenLayers examples that come with the source
>> package, you will find everything you need.
>>
>> On 3-Jul-08, at 5:02 AM, Fabio D'Ovidio wrote:
>>
>>> Hi!
>>> Does OL support GeoRSS polygon and\or line geometries in the new
>>> version?
>>> Any example?
>>>
>>> --
>>> Ing. Fabio D'Ovidio
>>>
>>> INOVA Open Solutions s.r.l.
>>> Web : http://www.inovaos.it
>>> Tel.: 081 197 57 600
>>> mail: fabiodovidio at gmail.com
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at openlayers.org
>>> http://openlayers.org/mailman/listinfo/users
>>
>>
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>



More information about the Users mailing list