[OpenLayers-Users] Re: remove a layer by name

Phil Scadden p.scadden at gns.cri.nz
Sun Sep 25 23:44:09 EDT 2011


This will cause trouble if layer is a baselayer. I have struggled to 
make layer changing work well and more or less gave up (recreate map). 
What might work is add the new layer, then delete the old one so there 
is always some present to be a base layer.

Notice: This email and any attachments are confidential. If received in error please destroy and immediately notify us. Do not copy or disclose the contents.



More information about the Users mailing list