Move olx.style.StyleOptions to ol/style/Style
This commit is contained in:
@@ -49,77 +49,6 @@ olx.render.State.prototype.resolution;
|
||||
olx.render.State.prototype.rotation;
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {{geometry: (undefined|string|module:ol/geom/Geometry~Geometry|ol.StyleGeometryFunction),
|
||||
* fill: (module:ol/style/Fill~Fill|undefined),
|
||||
* image: (module:ol/style/Image~ImageStyle|undefined),
|
||||
* renderer: (ol.StyleRenderFunction|undefined),
|
||||
* stroke: (module:ol/style/Stroke~Stroke|undefined),
|
||||
* text: (module:ol/style/Text~Text|undefined),
|
||||
* zIndex: (number|undefined)}}
|
||||
*/
|
||||
olx.style.StyleOptions;
|
||||
|
||||
|
||||
/**
|
||||
* Feature property or geometry or function returning a geometry to render for
|
||||
* this style.
|
||||
* @type {undefined|string|module:ol/geom/Geometry~Geometry|ol.StyleGeometryFunction}
|
||||
* @api
|
||||
*/
|
||||
olx.style.StyleOptions.prototype.geometry;
|
||||
|
||||
|
||||
/**
|
||||
* Fill style.
|
||||
* @type {module:ol/style/Fill~Fill|undefined}
|
||||
* @api
|
||||
*/
|
||||
olx.style.StyleOptions.prototype.fill;
|
||||
|
||||
|
||||
/**
|
||||
* Image style.
|
||||
* @type {module:ol/style/Image~ImageStyle|undefined}
|
||||
* @api
|
||||
*/
|
||||
olx.style.StyleOptions.prototype.image;
|
||||
|
||||
|
||||
/**
|
||||
* Custom renderer. When configured, `fill`, `stroke` and `image` will be
|
||||
* ignored, and the provided function will be called with each render frame for
|
||||
* each geometry.
|
||||
*
|
||||
* @type {ol.StyleRenderFunction|undefined}
|
||||
*/
|
||||
olx.style.StyleOptions.prototype.renderer;
|
||||
|
||||
|
||||
/**
|
||||
* Stroke style.
|
||||
* @type {module:ol/style/Stroke~Stroke|undefined}
|
||||
* @api
|
||||
*/
|
||||
olx.style.StyleOptions.prototype.stroke;
|
||||
|
||||
|
||||
/**
|
||||
* Text style.
|
||||
* @type {module:ol/style/Text~Text|undefined}
|
||||
* @api
|
||||
*/
|
||||
olx.style.StyleOptions.prototype.text;
|
||||
|
||||
|
||||
/**
|
||||
* Z index.
|
||||
* @type {number|undefined}
|
||||
* @api
|
||||
*/
|
||||
olx.style.StyleOptions.prototype.zIndex;
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {{extent: (ol.Extent|undefined),
|
||||
* minZoom: (number|undefined),
|
||||
|
||||
Reference in New Issue
Block a user