Remove MouseDefaults.zoomBox directly, rather than attempting to remove it by DOM ID. Fixes #199 in IE.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1447 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -188,7 +188,7 @@ OpenLayers.Control.MouseDefaults.prototype =
|
|||||||
(end.lat)
|
(end.lat)
|
||||||
), this.map.getZoom() + 1);
|
), this.map.getZoom() + 1);
|
||||||
}
|
}
|
||||||
this.map.viewPortDiv.removeChild(document.getElementById("zoomBox"));
|
this.map.viewPortDiv.removeChild(this.zoomBox);
|
||||||
this.zoomBox = null;
|
this.zoomBox = null;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user