Fixing undeclared label.

Missing var in be585c5f23 causing closure compiler failure.
This commit is contained in:
Tim Schaub
2012-01-17 23:41:04 -07:00
parent b910a5f4d0
commit 6aaa9bb749

View File

@@ -661,7 +661,7 @@ OpenLayers.Renderer.SVG = OpenLayers.Class(OpenLayers.Renderer.Elements, {
var y = (location.y / resolution - this.top);
var suffix = (drawOutline)?this.LABEL_OUTLINE_SUFFIX:this.LABEL_ID_SUFFIX;
label = this.nodeFactory(featureId + suffix, "text");
var label = this.nodeFactory(featureId + suffix, "text");
label.setAttributeNS(null, "x", x);
label.setAttributeNS(null, "y", -y);