Add comments for setStyleFunction

This commit is contained in:
Éric Lemoine
2014-01-28 21:35:38 +01:00
parent ea22feed99
commit 0eb72667c9
+3
View File
@@ -77,6 +77,9 @@ goog.exportProperty(
/** /**
* If the styles are changed by setting a new style function or by changing the
* value returned by the style function then `dispatchChangeEvent` should be
* called on the layer for the layer to be refreshed on the screen.
* @param {ol.feature.StyleFunction|undefined} styleFunction Style function. * @param {ol.feature.StyleFunction|undefined} styleFunction Style function.
*/ */
ol.layer.Vector.prototype.setStyleFunction = function(styleFunction) { ol.layer.Vector.prototype.setStyleFunction = function(styleFunction) {