new Vector(userParameters, options)
Parameters:
| Name | Type | Description | 
|---|---|---|
| userParameters | Mx.parameters.Layer | parameters | 
| options | Mx.parameters.LayerOptions | custom options for this layer | 
- Source:
Extends
Members
- 
    style_
- 
    
    TODO - Source:
 
Methods
- 
    addFeatures(features)
- 
    
    This function add features to layer Parameters:Name Type Description featuresArray.<M.feature> Features to add - Source:
 
- 
    clear()
- 
    
    This function remove all features - Source:
 
- 
    equals(obj)
- 
    
    This function checks if an object is equals 
 to this layerParameters:Name Type Description objobject Object to compare - Source:
 
- 
    fire()
- 
    
    Sets the callback when the instace is loaded - Inherited From:
- Source:
 
- 
    getFeatureById(id)
- 
    
    This function returns the feature with this id Parameters:Name Type Description idstring | number Id feature - Source:
 Returns:feature - Returns the feature with that id if it is found, in case it is not found or does not indicate the id returns null - Type
- null | M.feature
 
- 
    getFeatures(applyFilter)
- 
    
    This function returns all features or discriminating by the filter Parameters:Name Type Description applyFilterboolean Indicates whether execute filter - Source:
 Returns:returns all features or discriminating by the filter 
- 
    getFeaturesExtent(applyFilter)
- 
    
    This function return extent of all features or discriminating by the filter Parameters:Name Type Description applyFilterboolean Indicates whether execute filter - Source:
 Returns:Extent of features - Type
- Array.<number>
 
- 
    getFilter()
- 
    
    This function return filter - Source:
 Returns:returns filter assigned - Type
- M.Filter
 
- 
    getImpl()
- 
    
    This function provides the implementation 
 of the object- Inherited From:
- Source:
 Returns:- Type
- Object
 
- 
    getLegendURL()
- 
    
    This function checks if an object is equals 
 to this layer- Overrides:
- Source:
 
- 
    getOpacity()
- 
    
    This function gets the opacity of this layer - Inherited From:
- Source:
 
- 
    getStyle()
- 
    
    This function return style vector TODO - Source:
 
- 
    getZIndex()
- 
    
    This function gets the z-index of this layer - Inherited From:
- Source:
 
- 
    inRange()
- 
    
    This function indicates if the layer is in range - Inherited From:
- Source:
 
- 
    isQueryable()
- 
    
    This function indicates if the layer is visible - Inherited From:
- Source:
 
- 
    isVisible()
- 
    
    This function indicates if the layer is visible - Inherited From:
- Source:
 
- 
    on()
- 
    
    Sets the callback when the instace is loaded - Inherited From:
- Source:
 
- 
    once()
- 
    
    Sets the callback when the instace is loaded - Inherited From:
- Source:
 
- 
    redraw()
- 
    
    This function redraw layer - Source:
 
- 
    refresh()
- 
    
    This function refresh layer - Overrides:
- Source:
 
- 
    removeFeatures(features)
- 
    
    This function remove the features indicated Parameters:Name Type Description featuresArray.<M.feature> Features to remove - Source:
 
- 
    removeFilter()
- 
    
    This function remove filter - Source:
 
- 
    setFilter(filter)
- 
    
    This function set a filter Parameters:Name Type Description filterM.Filter filter to set - Source:
 
- 
    setImpl(impl)
- 
    
    This function set implementation of this control Parameters:Name Type Description implM.Map to add the plugin - Inherited From:
- Source:
 
- 
    setLegendURL()
- 
    
    This function checks if an object is equals 
 to this layer- Inherited From:
- Source:
 
- 
    setOpacity()
- 
    
    This function sets the opacity of this layer - Inherited From:
- Source:
 
- 
    setStyle()
- 
    
    TODO - Source:
 
- 
    setVisible()
- 
    
    This function sets the visibility of this layer - Inherited From:
- Source:
 
- 
    setZIndex()
- 
    
    This function sets the z-index for this layer - Inherited From:
- Source:
 
- 
    un()
- 
    
    Sets the callback when the instace is loaded - Inherited From:
- Source: