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