[OpenLayers-Dev] prevent layers from getting added

bartvde at osgis.nl bartvde at osgis.nl
Mon Jun 8 04:41:25 EDT 2009

Hi list,

currently there seems no option to prevent layers from getting added to
the map object. I thought I could use the preaddlayer event for this, but
that does not seem possible currently.

Is there interest in creating a patch for such a feature? Do people think
this would be useful general functionality?

Best regards,

More information about the Dev mailing list