In order for slide show to work with map, the features and fotos need to be aware of which layer they are in. I create a home-made property with a key that to add to the feature Object.
Output of an empty ol.style.Style Object
var a = new ol.style.Style()
undefined
a
{…}
fill_: null
geometryFunction_: function defaultGeometryFunction(feature)
geometry_: null
image_: null
renderer_: null
stroke_: null
text_: null
zIndex_: undefined
: Object { clone: clone(),
getRenderer: getRenderer(),
setRenderer: setRenderer(renderer), … }