Ticket #1316 (closed bug: fixed)
map.removeControl sometimes chokes in IE
| Reported by: | tschaub | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.6 Release |
| Component: | Map | Version: | 2.5 |
| Keywords: | Cc: | ||
| State: | Complete |
Description
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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

