Minor api fixes

This commit is contained in:
Frederic Junod
2014-02-17 14:25:34 +01:00
parent 673027ae11
commit bef5b0debe
+5 -5
View File
@@ -611,7 +611,7 @@
* @property {Document|undefined} doc Document. * @property {Document|undefined} doc Document.
* @property {ol.Extent|undefined} extent Extent. * @property {ol.Extent|undefined} extent Extent.
* @property {string|undefined} logo Logo. * @property {string|undefined} logo Logo.
* @property {Node|undefined| node Node. * @property {Node|undefined} node Node.
* @property {ol.proj.ProjectionLike} projection Destination projection. If * @property {ol.proj.ProjectionLike} projection Destination projection. If
* provided, features will be transformed to this projection. If not * provided, features will be transformed to this projection. If not
* provided, features will not be transformed. * provided, features will not be transformed.
@@ -672,7 +672,7 @@
* @property {Document|undefined} doc Document. * @property {Document|undefined} doc Document.
* @property {ol.Extent|undefined} extent Extent. * @property {ol.Extent|undefined} extent Extent.
* @property {string|undefined} logo Logo. * @property {string|undefined} logo Logo.
* @property {Node|undefined| node Node. * @property {Node|undefined} node Node.
* @property {ol.proj.ProjectionLike} projection Destination projection. If * @property {ol.proj.ProjectionLike} projection Destination projection. If
* provided, features will be transformed to this projection. If not * provided, features will be transformed to this projection. If not
* provided, features will not be transformed. * provided, features will not be transformed.
@@ -727,7 +727,7 @@
* @property {ol.proj.ProjectionLike} projection Projection. * @property {ol.proj.ProjectionLike} projection Projection.
* @property {number|undefined} ratio Ratio. 1 means canvases are the size * @property {number|undefined} ratio Ratio. 1 means canvases are the size
* of the map viewport, 2 means twice the size of the map viewport, and so * of the map viewport, 2 means twice the size of the map viewport, and so
* on. * on. Default is `1.5`.
* @property {Array.<number>|undefined} resolutions Resolutions. If specified, * @property {Array.<number>|undefined} resolutions Resolutions. If specified,
* new canvases will be created for these resolutions only. * new canvases will be created for these resolutions only.
* @property {ol.source.State|string|undefined} state Source state. * @property {ol.source.State|string|undefined} state Source state.
@@ -741,7 +741,7 @@
* @property {ol.proj.ProjectionLike} projection Projection. * @property {ol.proj.ProjectionLike} projection Projection.
* @property {number|undefined} ratio Ratio. 1 means canvases are the size * @property {number|undefined} ratio Ratio. 1 means canvases are the size
* of the map viewport, 2 means twice the size of the map viewport, and so * of the map viewport, 2 means twice the size of the map viewport, and so
* on. * on. Default is `1.5`.
* @property {Array.<number>|undefined} resolutions Resolutions. If specified, * @property {Array.<number>|undefined} resolutions Resolutions. If specified,
* new canvases will be created for these resolutions only. * new canvases will be created for these resolutions only.
* @property {ol.source.Vector} source The vector source from which the vector * @property {ol.source.Vector} source The vector source from which the vector
@@ -945,7 +945,7 @@
/** /**
* @typedef {Object} olx.style.IconOptions * @typedef {Object} olx.style.IconOptions
* @property {Array.<number>|undefined} anchor Anchor. Default value is [0.5, 0.5] * @property {Array.<number>|undefined} anchor Anchor. Default value is `[0.5, 0.5]`
* (icon center). * (icon center).
* @property {ol.style.IconAnchorUnits|undefined} anchorXUnits Units in which the anchor x value is specified. * @property {ol.style.IconAnchorUnits|undefined} anchorXUnits Units in which the anchor x value is specified.
* A value of `'fraction'` indicates the x value is a fraction of the icon. * A value of `'fraction'` indicates the x value is a fraction of the icon.