Make loading strategies appear in the docs
This commit is contained in:
@@ -4,6 +4,7 @@ goog.require('ol.TileCoord');
|
||||
|
||||
|
||||
/**
|
||||
* Strategy function for loading all features with a single request.
|
||||
* @param {ol.Extent} extent Extent.
|
||||
* @param {number} resolution Resolution.
|
||||
* @return {Array.<ol.Extent>} Extents.
|
||||
@@ -15,6 +16,8 @@ ol.loadingstrategy.all = function(extent, resolution) {
|
||||
|
||||
|
||||
/**
|
||||
* Strategy function for loading features based on the view's extent and
|
||||
* resolution.
|
||||
* @param {ol.Extent} extent Extent.
|
||||
* @param {number} resolution Resolution.
|
||||
* @return {Array.<ol.Extent>} Extents.
|
||||
@@ -26,6 +29,7 @@ ol.loadingstrategy.bbox = function(extent, resolution) {
|
||||
|
||||
|
||||
/**
|
||||
* Creates a strategy function for loading features based on a tile grid.
|
||||
* @param {ol.tilegrid.TileGrid} tileGrid Tile grid.
|
||||
* @return {function(ol.Extent, number): Array.<ol.Extent>} Loading strategy.
|
||||
* @todo api
|
||||
|
||||
Reference in New Issue
Block a user