I have a vector layer. Its underlying data source is a GeometryFeatureProvider.
I implemented a simple delete tool that enables to delete object from map by clicking it.
It deletes object from the underlying data source, but the layer does not refreshes, so the deleted
object is still there. It is removed from the datasource, but not from the map...
After removing and adding the layer to the map again, the deleted object disappears, so it is OK.
How can I do the refreshment instead of removing/re-adding layer to the map again?