Annotations for exports

This commit is contained in:
Tim Schaub
2014-04-08 13:40:35 -06:00
parent 457cfe851a
commit fb497f5288
243 changed files with 456 additions and 451 deletions

View File

@@ -7,6 +7,7 @@ goog.require('ol.TileCoord');
* @param {ol.Extent} extent Extent.
* @param {number} resolution Resolution.
* @return {Array.<ol.Extent>} Extents.
* @todo api
*/
ol.loadingstrategy.all = function(extent, resolution) {
return [[-Infinity, -Infinity, Infinity, Infinity]];
@@ -17,6 +18,7 @@ ol.loadingstrategy.all = function(extent, resolution) {
* @param {ol.Extent} extent Extent.
* @param {number} resolution Resolution.
* @return {Array.<ol.Extent>} Extents.
* @todo api
*/
ol.loadingstrategy.bbox = function(extent, resolution) {
return [extent];
@@ -26,6 +28,7 @@ ol.loadingstrategy.bbox = function(extent, resolution) {
/**
* @param {ol.tilegrid.TileGrid} tileGrid Tile grid.
* @return {function(ol.Extent, number): Array.<ol.Extent>} Loading strategy.
* @todo api
*/
ol.loadingstrategy.createTile = function(tileGrid) {
return (