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