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
|
||||
* 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();
|
||||
|
||||
Reference in New Issue
Block a user