Mention the need to re-render in a single place only

This commit is contained in:
Andreas Hocevar
2014-09-11 13:13:17 -07:00
parent 0e14639633
commit 267a950435
5 changed files with 26 additions and 93 deletions
+1 -4
View File
@@ -32,10 +32,7 @@ ol.style.Fill.prototype.getColor = function() {
/**
* Set the color. When this style is used as a layer, feature or ImageVector
* source style, call `changed()` on the layer, feature or ImageVector source
* for the change to take effect. When used as a FeatureOverlay style, call
* `render()` on the map.
* Set the color.
*
* @param {ol.Color|string} color Color.
* @api