Move ol.StyleImageOptions from typedefs.js to ol/style/Image
This commit is contained in:
+13
-1
@@ -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) {
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user