Am Donnerstag 08 Oktober 2009 14:30:27 schrieben Sie:

> map.destroy();
> 
> perhaps?
> 
> -- Chris
> 

Tried it already and it (seems) not to do the Job cleanly.
It looks that the dependencies/references (click etc) are not destroyed/removed.
Saying this, tried to remove all the 'register,control' handler as well and 
still the 'Layer Switcher, PanZoom etc.' are left over.

The new map instance is than pushed below the olMap.

Regards
Heiko
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to