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