Openlayer clustering (fanning)

We’re looking for clustering functionnality, and seems that we need to build it ourselves. I found the following information, which seems to be what we’re looking for: https://vaadin.com/forum#!/thread/1443772

In other word, we need to override the
updateExtend
method, and implement then our own algorithm.

However, we’re using following version of the OL Add-on: https://vaadin.com/directory/component/openlayers-3-wrapper-for-gwt/2.0

We never instantiate an
OpenLayersMap
object, rather an
OLMap
.

Where can we then override the
updateExtend
method? Or what is the equivalent for our version? (maybe there is now another way of implemeting clustering functionality?)

Ok … Seems that on the OLView we have the possibility to add a ViewChangeListener. When implementing a ViewChangeListener, one will have to implement a extentChanged method, which seems to be the equivalent.