Ticket #2430 (closed bug: fixed)
make OverviewMap.destroy more robust
|Reported by:||elemoine||Owned by:|
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.