new ol.FeatureOverlay(opt_options) experimental
| Name | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| options | Options. 
 | |||||||||||||
Methods
- 
    addFeature(feature) experimentalsrc/ol/featureoverlay.js, line 101
- 
    
    
    
    
    
    
    
    
        
Name Type Description featureol.Feature Feature. 
- 
    getFeatures(){ol.Collection.<ol.Feature>} experimentalsrc/ol/featureoverlay.js, line 110
- 
    
    
    
    
    
    
    
    
    
    
    
Returns:Features collection.
 
- 
    getMap(){ol.Map} experimentalsrc/ol/featureoverlay.js, line 119
- 
    
    
    
    
    
    
    
    
    
    
    
Returns:The map with which this feature overlay is associated.
 
- 
    getStyle(){ol.style.Style|Array.<ol.style.Style>|ol.style.StyleFunction} experimentalsrc/ol/featureoverlay.js, line 304
- 
    
    
    Get the style for features. This returns whatever was passed to the styleoption at construction or to thesetStylemethod.Returns:Overlay style.
 
- 
    getStyleFunction(){ol.style.StyleFunction|undefined} experimentalsrc/ol/featureoverlay.js, line 314
- 
    
    
    Get the style function. Returns:Style function.
 
- 
    removeFeature(feature) experimentalsrc/ol/featureoverlay.js, line 213
- 
    
    
    
    
    
    
    
    
        
Name Type Description featureol.Feature Feature. 
- 
    setFeatures(features) experimentalsrc/ol/featureoverlay.js, line 232
- 
    
    
    
    
    
    
    
    
        
Name Type Description featuresol.Collection.<ol.Feature> Features collection. 
- 
    setMap(map) experimentalsrc/ol/featureoverlay.js, line 266
- 
    
    
    
    
    
    
    
    
        
Name Type Description mapol.Map Map. 
- 
    setStyle(style) experimentalsrc/ol/featureoverlay.js, line 290
- 
    
    
    Set the style for features. This can be a single style object, an array of styles, or a function that takes a feature and resolution and returns an array of styles. Name Type Description styleol.style.Style | Array.<ol.style.Style> | ol.style.StyleFunction Overlay style. 
 OpenLayers 3
 OpenLayers 3