Ticket #2430 (closed bug: fixed)
make OverviewMap.destroy more robust
| Reported by: | elemoine | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.9 Release |
| Component: | Control.OverviewMap | Version: | 2.8 |
| Keywords: | Cc: | ||
| State: | Complete |
Description
the OverviewMap control may produce JavaScript errors when it's destroyed. This happens if the control is destroyed while its update has never been called.
update is called by draw if map.getExtent doesn't return null. If the map doesn't have layers when draw is called then update is not called and the control cannot be destroyed.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

