diff --git a/Layer.HTTPRequest.txt b/Layer.HTTPRequest.txt index ea683e6d77..39050d6265 100644 --- a/Layer.HTTPRequest.txt +++ b/Layer.HTTPRequest.txt @@ -6,6 +6,8 @@ Sublass of Layer used for services which require initiating multiple HTTPRequest OpenLayers.Layer.HTTPRequest(name, url, params, options) -- URL is the base URL to the layer. Params is a set of params to be included in the HTTP Request. Options is a set of options, extending the parameters of the layer. * Methods - initResolutions() -- none -- Based on the current minScale/maxScale/maxResolution/maxZoomLevels/scales/resolutions parameters, initializes an array of 'zoom levels' as this.resolutions, which are then used as an index into when zooming. + initResolutions() -- none -- Based on the current minScale/maxScale/maxResolution/numZoomLevel/scales/resolutions parameters, initializes an array of 'zoom levels' as this.resolutions, which are then used as an index into when zooming. getFullRequestString(newParams) -- {String} -- Returns the full request string for a combination of the defaults on this layer and the parameters passed via newParams. - + +* Options + reproject -- If reproject is true, then the layer will alter the bounding boxes of its tiles to be based on the geographic location of the pixel bounds in the base layer. This is important for reprojecting WMS tiles onto something like Google Maps. Tile locations are calculated, and then when creating the tile request, the bounding box is adjusted to match the bounding box of the base layer at that location. diff --git a/Layer.txt b/Layer.txt index cd0fac8743..0f69c191f2 100644 --- a/Layer.txt +++ b/Layer.txt @@ -20,6 +20,7 @@ of different layers. getZoomForExtent({OpenLayers.Bounds|bounds}) -- {Integer} -- return the integer zoom which most closely matches the passed bounds. getLonLatFromViewPortPx({OpenLayers.Pixel|pixel}) -- {OpenLayers.LonLat} -- Returns an OpenLayers.LonLat which is the passed-in view port OpenLayers.Pixel, translated into lon/lat by the laye getViewPortPxFromLonLat({OpenLayers.LonLat|lonlat}) -- {OpenLayers.Pixel} -- Returns An OpenLayers.Pixel which is the passed-in OpenLayers.LonLat, translated into view port pixels + addOptions({options})) -- none -- Change the options on the layer. This is the supported way to change properties of the layer. * Parameters displayOutsideMaxExtent -- Determine whether images or data are loaded outside the maxExtent. Default is false. @@ -31,6 +32,7 @@ of different layers. minScale -- The scale at zoom level 0. If this is set on the map before the Layer is added to the map, it will inherit from the map. maxScale -- The scale at the highest zoom level. If this is set on the map before the Layer is added to the map, it will inherit from the map. units -- The units the map is projected into. If this is set on the map before the Layer is added to the map, it will inherit from the map. + diff --git a/authors.txt b/authors.txt index fbcd848834..6d383b8b36 100644 --- a/authors.txt +++ b/authors.txt @@ -11,6 +11,7 @@ Patch contributors Corey Puffault Tim Schaub Jeff Dege +Sean Gilles OpenLayers is graciously supported by MetaCarta, Inc. .