Remove unused ol.extent.normalize function

This commit is contained in:
Frederic Junod
2016-10-21 14:20:31 +02:00
parent 5498f5f7db
commit 5627a467cd
2 changed files with 0 additions and 40 deletions

View File

@@ -730,19 +730,6 @@ ol.extent.isInfinite = function(extent) {
};
/**
* @param {ol.Extent} extent Extent.
* @param {ol.Coordinate} coordinate Coordinate.
* @return {ol.Coordinate} Coordinate.
*/
ol.extent.normalize = function(extent, coordinate) {
return [
(coordinate[0] - extent[0]) / (extent[2] - extent[0]),
(coordinate[1] - extent[1]) / (extent[3] - extent[1])
];
};
/**
* @param {ol.Extent} extent Extent.
* @param {ol.Extent=} opt_extent Extent.