Export ol.style.Style

This commit is contained in:
Éric Lemoine
2013-11-20 15:25:42 +01:00
parent e783703854
commit 38bc0a28a6
3 changed files with 11 additions and 12 deletions

View File

@@ -651,6 +651,16 @@
* @todo stability experimental
*/
/**
* @typedef {Object} ol.style.StyleOptions
* @property {ol.style.Fill|undefined} fill Fill style.
* @property {ol.style.Image|undefined} image Image style.
* @property {ol.style.Stroke|undefined} stroke Stroke style.
* @property {ol.style.Text|undefined} text Text style.
* @property {number|undefined} zIndex Z index.
* @todo stability experimental
*/
/**
* @typedef {Object} ol.tilegrid.TileGridOptions
* @property {number|undefined} minZoom Minimum zoom.

View File

@@ -0,0 +1 @@
@exportClass ol.style.Style ol.style.StyleOptions

View File

@@ -1,5 +1,3 @@
// FIXME export ol.style.Style
goog.provide('ol.style.Style');
goog.provide('ol.style.StyleFunction');
@@ -7,16 +5,6 @@ goog.require('ol.style.Fill');
goog.require('ol.style.Image');
/**
* @typedef {{fill: (ol.style.Fill|undefined),
* image: (ol.style.Image|undefined),
* stroke: (ol.style.Stroke|undefined),
* text: (ol.style.Text|undefined),
* zIndex: (number|undefined)}}
*/
ol.style.StyleOptions;
/**
* @constructor