Give method a better name and add docs

This commit is contained in:
Andreas Hocevar
2017-12-06 13:16:42 +01:00
parent 5641430590
commit 8bc61504c8
2 changed files with 33 additions and 3 deletions

View File

@@ -763,12 +763,11 @@ ol.source.Vector.prototype.loadFeatures = function(
/**
* Remove the current extent from the list of loaded extent.
* Remove an extent from the list of loaded extents.
* @param {ol.Extent} extent Extent.
* @api
*/
ol.source.Vector.prototype.removeFromLoadedExtent = function(
extent) {
ol.source.Vector.prototype.removeLoadedExtent = function(extent) {
var loadedExtentsRtree = this.loadedExtentsRtree_;
var obj;
loadedExtentsRtree.forEachInExtent(extent, function(object) {