Since upgrading to v2 of the engine I get the error:
Layer#onPostRender has been removed.
I think the line in my code is:
this.countLayer.onPostRender = this.onCountLayerPostRender.bind(this);
It seems that because of this error the function onCountLayerPostRender is no longer run. Any idea how to resolve? This worked fine before the upgrade and I cant see any notes about this kind of thing in the migration docs.
Thanks