Add optional layerFunction to ol.Map#forEachFeatureAtPixel