Remove unused ol.extent.empty function
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user