Methods
- 
    
ol.extent.applyTransform(extent, transformFn, opt_extent){ol.Extent}
 - 
    
    
    
Apply a transform function to the extent.
Name Type Description extentol.Extent Extent.
transformFnol.TransformFunction Transform function. Called with [minX, minY, maxX, maxY] extent coordinates.
extentol.Extent Destination extent.
Returns:
Extent.
 - 
    
ol.extent.boundingExtent(coordinates){ol.Extent}
 - 
    
    
    
Builds an extent that includes all given coordinates.
Name Type Description coordinatesArray.<ol.Coordinate> Coordinates.
Returns:
Bounding extent.
 - 
    
ol.extent.buffer(extent, value, opt_extent){ol.Extent}
 - 
    
    
    
Return extent increased by the provided value.
Name Type Description extentol.Extent Extent.
valuenumber The amount by which the extent should be buffered.
extentol.Extent Extent.
Returns:
Extent.
 - 
    
ol.extent.containsCoordinate(extent, coordinate){boolean}
 - 
    
    
    
Checks if the passed coordinate is contained or on the edge of the extent.
Name Type Description extentol.Extent Extent.
coordinateol.Coordinate Coordinate.
Returns:
Contains.
 - 
    
ol.extent.containsExtent(extent1, extent2){boolean}
 - 
    
    
    
Checks if
extent2is contained by or on the edge ofextent1.Name Type Description extent1ol.Extent Extent 1.
extent2ol.Extent Extent 2.
Returns:
Contains.
 - 
    
ol.extent.createEmpty(){ol.Extent}
 - 
    
    
    
    
    
    
    
    
    
    
    
Returns:
Empty extent.
 - 
    
ol.extent.equals(extent1, extent2){boolean}
 - 
    
    
    
    
    
    
    
    
        
Name Type Description extent1ol.Extent Extent 1.
extent2ol.Extent Extent 2.
Returns:
Equals.
 - 
    
ol.extent.extend(extent1, extent2){ol.Extent}
 - 
    
    
    
    
    
    
    
    
        
Name Type Description extent1ol.Extent Extent 1.
extent2ol.Extent Extent 2.
Returns:
Extent.
 - 
    
ol.extent.getBottomLeft(extent){ol.Coordinate}
 - 
    
    
    
    
    
    
    
    
        
Name Type Description extentol.Extent Extent.
Returns:
Bottom left coordinate.
 - 
    
ol.extent.getBottomRight(extent){ol.Coordinate}
 - 
    
    
    
    
    
    
    
    
        
Name Type Description extentol.Extent Extent.
Returns:
Bottom right coordinate.
 - 
    
ol.extent.getCenter(extent){ol.Coordinate}
 - 
    
    
    
    
    
    
    
    
        
Name Type Description extentol.Extent Extent.
Returns:
Center.
 - 
    
ol.extent.getHeight(extent){number}
 - 
    
    
    
    
    
    
    
    
        
Name Type Description extentol.Extent Extent.
Returns:
Height.
 - 
    
ol.extent.getSize(extent){ol.Size}
 - 
    
    
    
    
    
    
    
    
        
Name Type Description extentol.Extent Extent.
Returns:
Size.
 - 
    
ol.extent.getTopLeft(extent){ol.Coordinate}
 - 
    
    
    
    
    
    
    
    
        
Name Type Description extentol.Extent Extent.
Returns:
Top left coordinate.
 - 
    
ol.extent.getTopRight(extent){ol.Coordinate}
 - 
    
    
    
    
    
    
    
    
        
Name Type Description extentol.Extent Extent.
Returns:
Top right coordinate.
 - 
    
ol.extent.getWidth(extent){number}
 - 
    
    
    
    
    
    
    
    
        
Name Type Description extentol.Extent Extent.
Returns:
Width.
 - 
    
ol.extent.intersects(extent1, extent2){boolean}
 - 
    
    
    
    
    
    
    
    
        
Name Type Description extent1ol.Extent Extent 1.
extent2ol.Extent Extent.
Returns:
Intersects.
 - 
    
ol.extent.isEmpty(extent){boolean}
 - 
    
    
    
    
    
    
    
    
        
Name Type Description extentol.Extent Extent.
Returns:
Is empty.