From 6e2f907e09fc9c0c9f6ad88888026855ac6c09bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Wed, 20 Nov 2013 15:21:30 +0100 Subject: [PATCH] Export ol.style.Fill --- src/objectliterals.jsdoc | 6 ++++++ src/ol/style/fillstyle.exports | 1 + src/ol/style/fillstyle.js | 6 ------ 3 files changed, 7 insertions(+), 6 deletions(-) create mode 100644 src/ol/style/fillstyle.exports diff --git a/src/objectliterals.jsdoc b/src/objectliterals.jsdoc index a27dae8aa2..81e4e62488 100644 --- a/src/objectliterals.jsdoc +++ b/src/objectliterals.jsdoc @@ -618,6 +618,12 @@ * @todo stability experimental */ +/** + * @typedef {Object} ol.style.FillOptions + * @property {ol.Color|string} color Color. + * @todo stability experimental + */ + /** * @typedef {Object} ol.tilegrid.TileGridOptions * @property {number|undefined} minZoom Minimum zoom. diff --git a/src/ol/style/fillstyle.exports b/src/ol/style/fillstyle.exports new file mode 100644 index 0000000000..9dd7392396 --- /dev/null +++ b/src/ol/style/fillstyle.exports @@ -0,0 +1 @@ +@exportClass ol.style.Fill ol.style.FillOptions diff --git a/src/ol/style/fillstyle.js b/src/ol/style/fillstyle.js index 978aa95c2e..5c6a040da5 100644 --- a/src/ol/style/fillstyle.js +++ b/src/ol/style/fillstyle.js @@ -3,12 +3,6 @@ goog.provide('ol.style.Fill'); goog.require('ol.color'); -/** - * @typedef {{color: (ol.Color|string)}} - */ -ol.style.FillOptions; - - /** * @constructor