Adding @export tags to functions missing it - for advanced compilation.
This commit is contained in:
@@ -3,6 +3,7 @@ goog.require('ol.UnreferencedBounds');
|
||||
goog.require('ol.Projection');
|
||||
|
||||
/**
|
||||
* @export
|
||||
* @constructor
|
||||
* @param {number} minX Minimum X.
|
||||
* @param {number} minY Minimum Y.
|
||||
|
||||
@@ -5,6 +5,7 @@ goog.require('ol.Projection');
|
||||
|
||||
|
||||
/**
|
||||
* @export
|
||||
* @constructor
|
||||
* @param {number} x X.
|
||||
* @param {number} y Y.
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -5,6 +5,7 @@ goog.require('ol.Bounds');
|
||||
/**
|
||||
* Creates ol.Geometry objects.
|
||||
*
|
||||
* @export
|
||||
* @constructor
|
||||
*/
|
||||
ol.geom.Geometry = function() {
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user