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

View File

@@ -1,6 +1,18 @@
/**
* @module ol/style/Image
*/
/**
* @typedef {Object} Options
* @property {number} opacity
* @property {boolean} rotateWithView
* @property {number} rotation
* @property {number} number
* @property {boolean} snapToPixel
*/
/**
* @classdesc
* A base class used for creating subclasses and not instantiated in
@@ -9,7 +21,7 @@
*
* @constructor
* @abstract
* @param {ol.StyleImageOptions} options Options.
* @param {module:ol/style/Image~Options} options Options.
* @api
*/
const ImageStyle = function(options) {

View File

@@ -217,16 +217,6 @@ ol.ReprojTriangle;
ol.SourceRasterRenderedState;
/**
* @typedef {{opacity: number,
* rotateWithView: boolean,
* rotation: number,
* scale: number,
* snapToPixel: boolean}}
*/
ol.StyleImageOptions;
/**
* Number of features; bounds/extent.
* @typedef {{numberOfFeatures: number,