Update docs for changes proposed in #2684
This commit is contained in:
@@ -32,8 +32,10 @@ ol.style.Fill.prototype.getColor = function() {
|
||||
|
||||
|
||||
/**
|
||||
* Set the color. Call `setStyle()` or `dispatchChangeEvent()` on feature, layer
|
||||
* or feature overlay for changes to take effect.
|
||||
* 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.
|
||||
*
|
||||
* @param {ol.Color|string} color Color.
|
||||
* @api
|
||||
|
||||
Reference in New Issue
Block a user