Ticket #1316 (closed bug: fixed)
map.removeControl sometimes chokes in IE
|Reported by:||tschaub||Owned by:|
When a page unloads, map.removeControl is called for all controls. We check if control.outsideViewport before trying to remove control.div from map.viewportDiv. Though this seems like a sufficient check, the real check is to see if control.div.parentNode is map.viewportDiv before trying to remove child from parent.