Use ol.source.GeoJSON in geojson example
Use ol.source.GeoJSON in icon example
Use ol.source.GeoJSON in vector-layer example