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/
_______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users