Due to request on Twitter https://twitter.com/Stephanux40/status/833289922777903104
There were two issues:
ol.source.GeoJSON
removal in 3.5.0 https://github.com/openlayers/openlayers/releases/tag/v3.5.0 See section “New Vector API” for the exact documentation for upgrading.cluster.geojson
is using projection 3857 instead of the default EPSG 4326, we needed to add in the new ol.format.GeoJSON
the following: ..
format: new ol.format.GeoJSON({
defaultDataProjection: 'EPSG:3857'
})
..