Move ol.StyleImageOptions from typedefs.js to ol/style/Image

This commit is contained in:
Michael Kuenzli
2018-04-17 17:19:21 +02:00
parent e388527200
commit c06bea9a4e
2 changed files with 13 additions and 11 deletions
+13 -1
View File
@@ -1,6 +1,18 @@
/** /**
* @module ol/style/Image * @module ol/style/Image
*/ */
/**
* @typedef {Object} Options
* @property {number} opacity
* @property {boolean} rotateWithView
* @property {number} rotation
* @property {number} number
* @property {boolean} snapToPixel
*/
/** /**
* @classdesc * @classdesc
* A base class used for creating subclasses and not instantiated in * A base class used for creating subclasses and not instantiated in
@@ -9,7 +21,7 @@
* *
* @constructor * @constructor
* @abstract * @abstract
* @param {ol.StyleImageOptions} options Options. * @param {module:ol/style/Image~Options} options Options.
* @api * @api
*/ */
const ImageStyle = function(options) { const ImageStyle = function(options) {
-10
View File
@@ -217,16 +217,6 @@ ol.ReprojTriangle;
ol.SourceRasterRenderedState; ol.SourceRasterRenderedState;
/**
* @typedef {{opacity: number,
* rotateWithView: boolean,
* rotation: number,
* scale: number,
* snapToPixel: boolean}}
*/
ol.StyleImageOptions;
/** /**
* Number of features; bounds/extent. * Number of features; bounds/extent.
* @typedef {{numberOfFeatures: number, * @typedef {{numberOfFeatures: number,