Fixing undeclared label.
Missing var in be585c5f23 causing closure compiler failure.
This commit is contained in:
@@ -661,7 +661,7 @@ OpenLayers.Renderer.SVG = OpenLayers.Class(OpenLayers.Renderer.Elements, {
|
|||||||
var y = (location.y / resolution - this.top);
|
var y = (location.y / resolution - this.top);
|
||||||
|
|
||||||
var suffix = (drawOutline)?this.LABEL_OUTLINE_SUFFIX:this.LABEL_ID_SUFFIX;
|
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, "x", x);
|
||||||
label.setAttributeNS(null, "y", -y);
|
label.setAttributeNS(null, "y", -y);
|
||||||
|
|||||||
Reference in New Issue
Block a user