[OpenLayers-Users] GeoRSS lines doesn't show up
Arnd Wippermann
arnd.wippermann at web.de
Wed Jun 25 11:13:23 EDT 2008
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/b0bd8d12/attachment.html
More information about the Users
mailing list