hi!
i use following for define label-styles:
var portStyle1 = {
strokeColor: "#FFFFFF",
strokeOpacity: 0,
strokeWidth: 3,
fillColor: "#FF5500",
fillOpacity: 0,
pointRadius: 6,
pointerEvents: "visiblePainted",
label : "${name}",
fontColor: "#000077",
fontSize: "12px",
fontFamily: "Arial",
fontWeight: "bold",
labelAlign: "cm",
labelXOffset: 0,
labelYOffset: 20
is it possible to define cursiv (italic) labels ?
reagards Jan :-)
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users