All @api annotations imply stability

This commit is contained in:
Tim Schaub
2017-02-06 09:22:05 -07:00
parent ca23c7337f
commit f5aea97d3b
109 changed files with 705 additions and 747 deletions

View File

@@ -18,7 +18,7 @@ goog.require('ol.tilecoord');
* @constructor
* @param {olx.tilegrid.TileGridOptions} options Tile grid options.
* @struct
* @api stable
* @api
*/
ol.tilegrid.TileGrid = function(options) {
@@ -208,7 +208,7 @@ ol.tilegrid.TileGrid.prototype.getMinZoom = function() {
* Get the origin for the grid at the given zoom level.
* @param {number} z Z.
* @return {ol.Coordinate} Origin.
* @api stable
* @api
*/
ol.tilegrid.TileGrid.prototype.getOrigin = function(z) {
if (this.origin_) {
@@ -223,7 +223,7 @@ ol.tilegrid.TileGrid.prototype.getOrigin = function(z) {
* Get the resolution for the given zoom level.
* @param {number} z Z.
* @return {number} Resolution.
* @api stable
* @api
*/
ol.tilegrid.TileGrid.prototype.getResolution = function(z) {
return this.resolutions_[z];
@@ -233,7 +233,7 @@ ol.tilegrid.TileGrid.prototype.getResolution = function(z) {
/**
* Get the list of resolutions for the tile grid.
* @return {Array.<number>} Resolutions.
* @api stable
* @api
*/
ol.tilegrid.TileGrid.prototype.getResolutions = function() {
return this.resolutions_;
@@ -426,7 +426,7 @@ ol.tilegrid.TileGrid.prototype.getTileCoordResolution = function(tileCoord) {
* get an `ol.Size`, run the result through `ol.size.toSize()`.
* @param {number} z Z.
* @return {number|ol.Size} Tile size.
* @api stable
* @api
*/
ol.tilegrid.TileGrid.prototype.getTileSize = function(z) {
if (this.tileSize_) {