Expand docs for color options

This commit is contained in:
Peter Robins
2014-07-29 12:30:37 +00:00
parent a7e32469fa
commit d5e1c27fc1
4 changed files with 15 additions and 8 deletions
+5 -3
View File
@@ -104,9 +104,11 @@ ol.ENABLE_IMAGE = true;
/**
* @define {boolean} Enable named colors. Enabling named colors adds about 3KB
* uncompressed / 1.5KB compressed to the final build size. Default is
* `false`.
* @define {boolean} Enable Closure named colors (`goog.color.names`).
* Enabling these colors adds about 3KB uncompressed / 1.5KB compressed to
* the final build size. Default is `false`. This setting has no effect
* with Canvas renderer, which uses its own names, whether this is true or
* false.
*/
ol.ENABLE_NAMED_COLORS = false;