[OpenLayers-Users] use curisiv (italic) text

Jan Tappenbeck osm at tappenbeck.net
Sat Nov 19 14:09:33 EST 2011



  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 :-)





More information about the Users mailing list