From 472ce374e6f02122211735636654f3057e011ca9 Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Tue, 28 Aug 2007 23:30:23 +0000 Subject: [PATCH] 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 --- lib/OpenLayers/Layer/Grid.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/OpenLayers/Layer/Grid.js b/lib/OpenLayers/Layer/Grid.js index 28fbb1a39f..33e6931eb4 100644 --- a/lib/OpenLayers/Layer/Grid.js +++ b/lib/OpenLayers/Layer/Grid.js @@ -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 - {} The location in the viewport. + * APIMethod: getTilesBounds + * Return the bounds of the tile grid. * * Returns: * {} 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 - {} The location in the viewport. + * + * Returns: + * {} Bounds of the tile at the given pixel location. */ getTileBounds: function(viewPortPx) { var maxExtent = this.map.getMaxExtent();