diff --git a/src/ol/Loc.js b/src/ol/Loc.js index 4c2cd77724..e3bde60bc0 100644 --- a/src/ol/Loc.js +++ b/src/ol/Loc.js @@ -109,6 +109,7 @@ ol.Loc.prototype.setZ = function(z) { * will be thrown). Returns a new location object and does not modify this * location. * + * @export * @param {string|!ol.Projection} proj The destination projection. Can be * supplied as a projection instance of a string identifier. * @returns {!ol.Loc} A new location. @@ -138,6 +139,7 @@ ol.Loc.prototype.transform_ = function(proj) { /** * Clean up. + * @export */ ol.Loc.prototype.destroy = function() { for (var key in this) { diff --git a/src/ol/Projection.js b/src/ol/Projection.js index 90937f0d5c..bcbd8771e5 100644 --- a/src/ol/Projection.js +++ b/src/ol/Projection.js @@ -2,6 +2,7 @@ goog.provide('ol.Projection'); goog.require('ol.UnreferencedBounds'); /** + * @export * @constructor * @param {string} code Projection identifier. */