Done with: https://github.com/bartvde/ol3/commit/49ca1526c1cd4ad26ccf11673c1a6cc3561a6309