Create typedef

This commit is contained in:
Andreas Hocevar
2014-12-18 10:07:57 +01:00
parent af30b88413
commit 19015d2ca9
2 changed files with 22 additions and 10 deletions
+4 -4
View File
@@ -6075,7 +6075,7 @@ olx.style.TextOptions.prototype.stroke;
/**
* @typedef {{geometry: (undefined|string|ol.geom.Geometry|function(ol.Feature): (ol.geom.Geometry|undefined)),
* @typedef {{geometry: (undefined|string|ol.geom.Geometry|ol.style.GeometryFunction),
* fill: (ol.style.Fill|undefined),
* image: (ol.style.Image|undefined),
* stroke: (ol.style.Stroke|undefined),
@@ -6087,9 +6087,9 @@ olx.style.StyleOptions;
/**
* Feature property or geometry or function returning a geometry to render
* for this style.
* @type {undefined|string|ol.geom.Geometry|function(ol.Feature): (ol.geom.Geometry|undefined)}
* Feature property or geometry or function returning a geometry to render for
* this style.
* @type {undefined|string|ol.geom.Geometry|ol.style.GeometryFunction}
* @api
*/
olx.style.StyleOptions.prototype.geometry;