new LayersCollection(models, options)
    
    Parameters:
    
    
    
        
        | Name | Type | Description | 
    
    
    
        
            
                | models | Array.<core/models.LayerModel>
|
Array.<Object> | The models of this collection | 
    
        
            
                | options | Object | Properties
    
    
        
        | Name | Type | Description |  
            
                | exclusiveVisibility | boolean | Whether the visibility of the layers
                                                 are mutually exclusive. |  | 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    - Source:
 
    
    
    
     
    
    
    
        Methods
        
            
    
    add(layerDefinition)
    
    Add a single model or an array of models to the collection. Automtically
    sets the 'ordinal' property for sorting.
    Parameters:
    
    
    
        
        | Name | Type | Description | 
    
    
    
        
            
                | layerDefinition | Object
|
Array.<Object> | The layer definition(s). | 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    - Source: