metacat/lib/spatial/openlayers/doc/Layer.HTTPRequest.txt @ 3814
1 |
OpenLayers.Layer.HTTPRequest |
---|---|
2 |
|
3 |
Sublass of Layer used for services which require initiating multiple HTTPRequests. |
4 |
|
5 |
* Constructor |
6 |
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. |
7 |
|
8 |
* Methods |
9 |
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. |
10 |
getFullRequestString(newParams) -- {String} -- Returns the full request string for a combination of the defaults on this layer and the parameters passed via newParams. |
11 |
|