[OpenLayers-Users] GeoRSS lines doesn't show up

Simone Gadenz simone.gadenz at jrc.it
Wed Jun 25 12:02:22 EDT 2008


Thanks all, it works now!

 

S.

 

From: arnd.wippermann at web.de [mailto:arnd.wippermann at web.de] 
Sent: 25 June 2008 17:13
To: simone.gadenz at jrc.it
Cc: users at openlayers.org
Subject: AW: [OpenLayers-Users] GeoRSS lines doesn't show up

 

Hi Simone,

 

try this for your styleMap declaration

 

        var styleMap = new OpenLayers.StyleMap({

                "fillOpacity": 1,

                "pointRadius": 8,

                "fillColor" : "yellow",

                "strokeWidth" : 2,

                "strokeColor" : "rgb(99,99,99)"

                });

 

This are the default styles properties, which can be set:

 

OpenLayers.Feature.Vector.style = {
    'default': {
        fillColor: "#ee9900",
        fillOpacity: 0.4, 
        hoverFillColor: "white",
        hoverFillOpacity: 0.8,
        strokeColor: "#ee9900",
        strokeOpacity: 1,
        strokeWidth: 1,
        strokeLinecap: "round",
        hoverStrokeColor: "red",
        hoverStrokeOpacity: 1,
        hoverStrokeWidth: 0.2,
        pointRadius: 6,
        hoverPointRadius: 1,
        hoverPointUnit: "%",
        pointerEvents: "visiblePainted",
        cursor: ""
    },

Mit freundlichen Grüssen

Arnd Wippermann
http://gis.ibbeck.de/ginfo/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20080625/763fc201/attachment.html


More information about the Users mailing list