How to remove features in an Image Layer, Openlayers 3
<p>So I'm checking to see if there is a way to delete features that exist on an Image layer in Openlayers 3 (e.g. <code>ol.layer.Image({})</code> ). Here's the code I use to create the layer:</p>

<pre><code>var vector = new ol.layer.Image({
    tethys_legend_title: titleName,
    zIndex: 1,
    source: new ol.source.ImageVector({
        source: vectorSource,
        style: styleFunction,
    }),
});

// Make sure that the layer is not already existing, remove it if the layer does exist
map = TETHYS_MAP_VIEW.getMap();
for (i = 0; i &lt; map.getLayers().getProperties().length ; i ++){
    if (map.getLayers().item(i).getProperties().tethys_legend_title === titleName)
        map.removeLayer(map.getLayers().item(i));
}
vector.tethys_legend_title = 'Water Table';
map.addLayer(vector);
</code></pre>

<p>The way I currently understand features that can be deleted in openlayers is through the <code>.removeFeature()</code> method. However, the <code>removeFeature()</code> method only applies to vector layers. Is there a way to delete features that pertain to Image layers? Thanks</p>