Hi, Can you explain the use case of this? Why are you creating the layers object to prevent them to be added to the map object?
Thanks Julien bart...@osgis.nl wrote: > 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, > Bart > > _______________________________________________ > Dev mailing list > Dev@openlayers.org > http://openlayers.org/mailman/listinfo/dev > -- Julien-Samuel Lacroix Mapgears http://www.mapgears.com/ _______________________________________________ Dev mailing list Dev@openlayers.org http://openlayers.org/mailman/listinfo/dev