Remove unused ol.extent.empty function

This commit is contained in:
Frederic Junod
2016-10-21 14:25:46 +02:00
parent 0f8d26d829
commit 0a2b145fd5
2 changed files with 0 additions and 30 deletions

View File

@@ -307,18 +307,6 @@ ol.extent.createOrUpdateFromRings = function(rings, opt_extent) {
};
/**
* Empty an extent in place.
* @param {ol.Extent} extent Extent.
* @return {ol.Extent} Extent.
*/
ol.extent.empty = function(extent) {
extent[0] = extent[1] = Infinity;
extent[2] = extent[3] = -Infinity;
return extent;
};
/**
* Determine if two extents are equivalent.
* @param {ol.Extent} extent1 Extent 1.