[Cartoweb-dev] [Bug 1930] pdfRotate conflict with outline dhtml
layer in IE
bugzilla-daemon at bugzilla.maptools.org
bugzilla-daemon at bugzilla.maptools.org
Thu Aug 7 09:41:34 EDT 2008
http://bugzilla.maptools.org/show_bug.cgi?id=1930
------- Additional Comments From oliver.christen at camptocamp.com 2008-08-07 09:41 -------
// IGNOMINIOUS HACK !!! need to remove the outline layer if it exist, because
when it is in front of the drawing layer, the umo element returned is not
correct (return the outline layer instead of the feature in the drawing layer)
// need to find a proper way to do that.
for (var i = 0; i < this.getDisplay(aDisplay)._map.layers.length; i++) {
if (this.getDisplay(aDisplay)._map.layers[i].id.indexOf('outline') != -1) {
// remove dom element
var elm = xGetElementById(this.getDisplay(aDisplay).id + "_" +
this.getDisplay(aDisplay)._map.layers[i].id);
var pelm = this.getDisplay(aDisplay).rootDisplayLayer;
var removedNode = pelm.removeChild(elm);
// remove dhtml object
this.getDisplay(aDisplay)._map.layers.splice(i, 1);
}
}
// end of ignominious hack
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
Please do NOT reply to this email, use the link above instead to
login to bugzilla and submit your comment. Any email reply to this
address will be lost.
More information about the Cartoweb-dev
mailing list