New fontOpacity option for vector feature style. r=pgiraud (closes #2438)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@9978 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -810,6 +810,9 @@ OpenLayers.Renderer.VML = OpenLayers.Class(OpenLayers.Renderer.Elements, {
|
||||
if (style.fillColor) {
|
||||
textbox.style.color = style.fontColor;
|
||||
}
|
||||
if (style.fontOpacity) {
|
||||
textbox.style.filter = 'alpha(opacity=' + (style.fontOpacity * 100) + ')';
|
||||
}
|
||||
if (style.fontFamily) {
|
||||
textbox.style.fontFamily = style.fontFamily;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user