openlayers/ol3 — pull request #1827 by elemoine (2014-03-10 10:39:29+00:00)
Title: Use default style function in FeatureOverlay

With this PR the FeatureOverlay uses the default style function is no style is provided by the user.

An alternative patch would be to always set style function in the FeatureOverlay (and effectively use ol.feature.defaultStyleFunction when no style is provided by the user). In this way getStyleFunction would never return undefined. But I did not do this to be consistent with ol.layer.Vector and its renderer.