Fixing visibility (@private/@protected) annotationto introduce compiler warnings for that.
This commit is contained in:
@@ -14,31 +14,31 @@ goog.require('ol.Projection');
|
||||
ol.Bounds = function(minX, minY, maxX, maxY, opt_projection) {
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @protected
|
||||
* @type {number}
|
||||
*/
|
||||
this.minX_ = minX;
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @protected
|
||||
* @type {number}
|
||||
*/
|
||||
this.minY_ = minY;
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @protected
|
||||
* @type {number}
|
||||
*/
|
||||
this.maxX_ = maxX;
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @protected
|
||||
* @type {number}
|
||||
*/
|
||||
this.maxY_ = maxY;
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @protected
|
||||
* @type {ol.Projection|undefined}
|
||||
*/
|
||||
this.projection_ = opt_projection;
|
||||
|
||||
@@ -157,7 +157,6 @@ ol.Projection.addTransform = function(from, to, method) {
|
||||
* @param {!Object} point Object with x and y properties.
|
||||
* @param {!ol.Projection} source Source projection.
|
||||
* @param {!ol.Projection} dest Destination projection.
|
||||
* @private
|
||||
*/
|
||||
ol.Projection.transform = function(point, source, dest) {
|
||||
if (source.proj_ && dest.proj_) {
|
||||
|
||||
@@ -5,10 +5,10 @@ goog.provide('ol.TileSet');
|
||||
* tiles. Tiles of a TileSet have the same resolution, width and
|
||||
* height.
|
||||
* @constructor
|
||||
* @params {Array.<Array.<ol.Tile>>} tiles
|
||||
* @params {number} tileWidth
|
||||
* @params {number} tileHeight
|
||||
* @params {number} resolution
|
||||
* @param {Array.<Array.<ol.Tile>>} tiles
|
||||
* @param {number} tileWidth
|
||||
* @param {number} tileHeight
|
||||
* @param {number} resolution
|
||||
*/
|
||||
ol.TileSet = function(tiles, tileWidth, tileHeight, resolution) {
|
||||
|
||||
|
||||
@@ -10,25 +10,25 @@ goog.provide('ol.UnreferencedBounds');
|
||||
ol.UnreferencedBounds = function(minX, minY, maxX, maxY) {
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @protected
|
||||
* @type {number}
|
||||
*/
|
||||
this.minX_ = minX;
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @protected
|
||||
* @type {number}
|
||||
*/
|
||||
this.minY_ = minY;
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @protected
|
||||
* @type {number}
|
||||
*/
|
||||
this.maxX_ = maxX;
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @protected
|
||||
* @type {number}
|
||||
*/
|
||||
this.maxY_ = maxY;
|
||||
|
||||
Reference in New Issue
Block a user