In response to a button push, I want a map to dump its current set of layers and load a completely new set (which could include completely different baselayers). Cycling through the layer list destroying each in turn is causing headaches as a "setnewbaselayer" tries to reference a non-existing div. Is there a way to nuke the layer list in one hit? Am I better to destroy map and start again? (Was trying to avoid that as have legends and a great list of controls tied to it.).
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. _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
