added a labelOutlineOpacity attribute to SVG and Canvas Renderers.
This commit is contained in:
@@ -655,6 +655,9 @@ OpenLayers.Renderer.SVG = OpenLayers.Class(OpenLayers.Renderer.Elements, {
|
||||
outlineStyle.fontColor = outlineStyle.labelOutlineColor;
|
||||
outlineStyle.fontStrokeColor = outlineStyle.labelOutlineColor;
|
||||
outlineStyle.fontStrokeWidth = style.labelOutlineWidth;
|
||||
if (style.labelOutlineOpacity) {
|
||||
outlineStyle.fontOpacity = style.labelOutlineOpacity;
|
||||
}
|
||||
delete outlineStyle.labelOutlineWidth;
|
||||
this.drawText(featureId, outlineStyle, location);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user