[OpenLayers-Users] Georss marker

Marcello Brunaldi marcello.brunaldi at student.unife.it
Tue Feb 17 10:08:20 EST 2009


How do I redefine the style of the popup when loading the xml file with
GeoRSS?
Not all information and images within it are displayed

new1= [];
    new1[0] = new OpenLayers.Layer.GeoRSS( 'GeoRSS', 'georss/blu.xml',
{'projection': new OpenLayers.Projection("EPSG:4326"),'icon':color[0]} );
    new1[1] = new OpenLayers.Layer.GeoRSS( 'GeoRSS', 'georss/rosso.xml',
{'projection': new OpenLayers.Projection("EPSG:4326"),'icon':color[1]} );
    new1[2] = new OpenLayers.Layer.GeoRSS( 'GeoRSS', 'georss/verde.xml',
{'projection': new OpenLayers.Projection("EPSG:4326"),'icon':color[2]} );
    new1[3] = new OpenLayers.Layer.GeoRSS( 'GeoRSS', 'georss/giallo.xml',
{'projection': new OpenLayers.Projection("EPSG:4326"),'icon':color[3]} );
    new1[4] = new OpenLayers.Layer.GeoRSS( 'GeoRSS', 'georss/marrone.xml',
{'projection': new OpenLayers.Projection("EPSG:4326"),'icon':color[4]} );
    new1[5] = new OpenLayers.Layer.GeoRSS( 'GeoRSS', 'georss/arancio.xml',
{'projection': new OpenLayers.Projection("EPSG:4326"),'icon':color[5]} );
    new1[6] = new OpenLayers.Layer.GeoRSS( 'GeoRSS', 'georss/celeste.xml',
{'projection': new OpenLayers.Projection("EPSG:4326"),'icon':color[6]} );
    new1[7] = new OpenLayers.Layer.GeoRSS( 'GeoRSS', 'georss/viola.xml',
{'projection': new OpenLayers.Projection("EPSG:4326"),'icon':color[7]} );

for (n=0; n < 8; n++)
    {
        map.addLayer(new1[n]);
    }

I would like to set different popup configurations
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20090217/5a10522e/attachment.html


More information about the Users mailing list