when removeText, remove its outline too
This commit is contained in:
@@ -883,6 +883,10 @@ OpenLayers.Renderer.Elements = OpenLayers.Class(OpenLayers.Renderer, {
|
||||
if (label) {
|
||||
this.textRoot.removeChild(label);
|
||||
}
|
||||
var outline = document.getElementById(featureId + this.LABEL_OUTLINE_SUFFIX);
|
||||
if (outline) {
|
||||
this.textRoot.removeChild(outline);
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user