Correcting the ndoc typo I made in r4088. Now layer.getTilesBounds and layer.getTileBounds are properly documented (see #482).

git-svn-id: http://svn.openlayers.org/trunk/openlayers@4089 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Tim Schaub
2007-08-28 23:30:23 +00:00
parent d7776e77a7
commit 472ce374e6

View File

@@ -229,11 +229,8 @@ OpenLayers.Layer.Grid = OpenLayers.Class(OpenLayers.Layer.HTTPRequest, {
},
/**
* APIMethod: getTileBounds
* Returns The tile bounds for a layer given a pixel location.
*
* Parameters:
* viewPortPx - {<OpenLayers.Pixel>} The location in the viewport.
* APIMethod: getTilesBounds
* Return the bounds of the tile grid.
*
* Returns:
* {<OpenLayers.Bounds>} A Bounds object representing the bounds of all the
@@ -678,10 +675,13 @@ OpenLayers.Layer.Grid = OpenLayers.Class(OpenLayers.Layer.HTTPRequest, {
/**
* APIMethod: getTileBounds
* Returns The tile bounds for a layer given a pixel location
* Returns The tile bounds for a layer given a pixel location.
*
* Parameters:
* viewPortPx - {OpenLayers.Pixel} The location in the viewport
* Parameters:
* viewPortPx - {<OpenLayers.Pixel>} The location in the viewport.
*
* Returns:
* {<OpenLayers.Bounds>} Bounds of the tile at the given pixel location.
*/
getTileBounds: function(viewPortPx) {
var maxExtent = this.map.getMaxExtent();