A special layer type to combine multiple vector layers inside a single renderer root container. This class is not supposed to be instantiated from user space, it is a helper class for controls that require event processing for multiple vector layers.
OpenLayers. Layer. Vector. RootContainer | A special layer type to combine multiple vector layers inside a single renderer root container. |
Properties | |
layers | Layers that are attached to this container. |
Constructor | |
OpenLayers. Layer. Vector. RootContainer | Create a new root container for multiple vector layer. |
Create a new root container for multiple vector layer. This constructor is not supposed to be used from user space, it is only to be used by controls that need feature selection across multiple vector layers.
name | {String} A name for the layer |
options | {Object} Optional object with non-default properties to set on the layer. |
layers | {Array(OpenLayers.Layer.Vector)} The layers managed by this container |
{OpenLayers.Layer.Vector.RootContainer} A new vector layer root container