diff --git a/src/api/map.js b/src/api/map.js index baffd2f4e6..be84b7e9bb 100644 --- a/src/api/map.js +++ b/src/api/map.js @@ -14,6 +14,7 @@ ol.MapLike; /** + * @export * @param {ol.MapLike=} opt_arg Argument. * @return {ol.Map} Map. */ @@ -91,6 +92,7 @@ ol.map = function(opt_arg){ }; /** + * @export * @param {ol.LocLike=} opt_arg * @returns {ol.Map|ol.Loc|undefined} Map center. */ @@ -104,6 +106,7 @@ ol.Map.prototype.center = function(opt_arg) { }; /** + * @export * @param {ol.ProjectionLike=} opt_arg * @returns {ol.Map|ol.Projection|undefined} */ @@ -117,6 +120,7 @@ ol.Map.prototype.projection = function(opt_arg) { }; /** + * @export * @param {ol.ProjectionLike=} opt_arg * @returns {ol.Map|ol.Projection|undefined} */ @@ -130,6 +134,7 @@ ol.Map.prototype.userProjection = function(opt_arg) { }; /** + * @export * @param {number=} opt_arg * @returns {ol.Map|number|undefined} Map center. */ @@ -143,6 +148,7 @@ ol.Map.prototype.zoom = function(opt_arg) { }; /** + * @export * @param {number=} opt_arg * @returns {ol.Map|number|undefined} Map center. */ @@ -156,6 +162,7 @@ ol.Map.prototype.numZoomLevels = function(opt_arg) { }; /** + * @export * @param {Array=} opt_arg * @returns {ol.Map|Array|undefined} Map center. */ @@ -169,6 +176,7 @@ ol.Map.prototype.resolutions = function(opt_arg) { }; /** + * @export * @param {Array=} opt_arg * @returns {ol.Map|Array|undefined} Map center. */ @@ -182,6 +190,7 @@ ol.Map.prototype.layers = function(opt_arg) { }; /** + * @export * @param {Array=} opt_arg * @returns {ol.Map|ol.UnreferencedBounds|undefined} Map max extent. */ @@ -195,6 +204,7 @@ ol.Map.prototype.maxExtent = function(opt_arg) { }; /** + * @export * @param {number=} opt_arg * @returns {ol.Map|number|undefined} Map maximum resolution */ diff --git a/src/ol/Bounds.js b/src/ol/Bounds.js index bdb262444a..6bb260ef8c 100644 --- a/src/ol/Bounds.js +++ b/src/ol/Bounds.js @@ -3,6 +3,7 @@ goog.require('ol.UnreferencedBounds'); goog.require('ol.Projection'); /** + * @export * @constructor * @param {number} minX Minimum X. * @param {number} minY Minimum Y. diff --git a/src/ol/Loc.js b/src/ol/Loc.js index afba3cd801..68241c3ca6 100644 --- a/src/ol/Loc.js +++ b/src/ol/Loc.js @@ -5,6 +5,7 @@ goog.require('ol.Projection'); /** + * @export * @constructor * @param {number} x X. * @param {number} y Y. diff --git a/src/ol/Map.js b/src/ol/Map.js index 052f0ca334..385ee61dca 100644 --- a/src/ol/Map.js +++ b/src/ol/Map.js @@ -6,6 +6,7 @@ goog.require('ol.Projection'); /** + * @export * @constructor */ ol.Map = function() { @@ -272,7 +273,8 @@ ol.Map.prototype.setMaxRes = function(res) { }; /** -*/ + * @export + */ ol.Map.prototype.destroy = function() { //remove layers, etc. for (var key in this) { diff --git a/src/ol/geom/Geometry.js b/src/ol/geom/Geometry.js index 760371ec1d..4e03a04daf 100644 --- a/src/ol/geom/Geometry.js +++ b/src/ol/geom/Geometry.js @@ -5,6 +5,7 @@ goog.require('ol.Bounds'); /** * Creates ol.Geometry objects. * + * @export * @constructor */ ol.geom.Geometry = function() { diff --git a/src/ol/geom/Point.js b/src/ol/geom/Point.js index eb36e5efd2..b47a9cd5d8 100644 --- a/src/ol/geom/Point.js +++ b/src/ol/geom/Point.js @@ -8,6 +8,7 @@ goog.require('ol.coord.AccessorInterface'); /** * Creates ol.geom.Point objects. * + * @export * @extends {ol.geom.Geometry} * @param {number} x X. * @param {number} y Y. diff --git a/src/ol/layer/XYZ.js b/src/ol/layer/XYZ.js index 3d0191e7e0..8adf61bc93 100644 --- a/src/ol/layer/XYZ.js +++ b/src/ol/layer/XYZ.js @@ -6,6 +6,7 @@ goog.require('ol.TileSet'); /** * Class for XYZ layers. + * @export * @constructor * @param {string} url URL template. E.g. * http://a.tile.openstreetmap.org/{z}/{x}/{y}.png.