Set api annotation on classdesc, not constructor

This commit is contained in:
ahocevar
2018-07-21 17:25:22 +02:00
parent 2767ddfdc7
commit bbe0a66d07
101 changed files with 484 additions and 382 deletions
+1 -2
View File
@@ -143,12 +143,11 @@ import Stroke from '../style/Stroke.js';
* Container for vector feature rendering styles. Any changes made to the style
* or its children through `set*()` methods will not take effect until the
* feature or layer that uses the style is re-rendered.
* @api
*/
class Style {
/**
* @param {module:ol/style/Style~Options=} opt_options Style options.
* @api
*/
constructor(opt_options) {