Get rid of olx.js and typedef.js typedefs for ol

This commit is contained in:
Andreas Hocevar
2018-03-08 18:42:57 +01:00
parent 8f0ffe2043
commit 95d6251dbb
198 changed files with 2262 additions and 2698 deletions

View File

@@ -1,10 +1,25 @@
/**
* @module ol/style
*/
/**
* A function that takes an {@link module:ol/Feature~Feature} and a `{number}`
* representing the view's resolution. The function should return a
* {@link module:ol/style/Style~Style} or an array of them. This way e.g. a
* vector layer can be styled.
*
* @typedef {function((module:ol/Feature~Feature|module:ol/render/Feature~Feature), number):
* (module:ol/style/Style~Style|Array.<module:ol/style/Style~Style>)} StyleFunction
* @api
*/
import IconImageCache from './style/IconImageCache.js';
/**
* The {@link ol.style.IconImageCache} for {@link ol.style.Icon} images.
* The {@link module:ol/style/IconImageCache~IconImageCache} for
* {@link module:ol/style/Icon~Icon} images.
* @api
*/
export const iconImageCache = new IconImageCache();