OpenLayers. Layer. HTTPRequest

Constants

URL_HASH_FACTOR

{Float} Used to hash URL param strings for multi-WMS server selection.  Set to the Golden Ratio per Knuth’s recommendation.

Properties

reproject

Deprecated.  See http://trac.openlayers.org/wiki/SpatialMercator for information on the replacement for this functionality.  {Boolean} Whether layer should reproject itself based on base layer locations.  This allows reprojection onto commercial layers.  Default is false: Most layers can’t reproject, but layers which can create non-square geographic pixels can, like WMS.

Constructor

OpenLayers. Layer. HTTPRequest

Parameters

name{String}
url{Array(String) or String}
params{Object}
options{Object} Hashtable of extra options to tag onto the layer

Functions

destroy

destroy: function()

clone

clone: function (obj)

Parameters

obj{Object}

Returns

{OpenLayers.Layer.HTTPRequest} An exact clone of this OpenLayers.Layer.HTTPRequest

setUrl

setUrl: function(newUrl)

Parameters

newUrl{String}

mergeNewParams

mergeNewParams:function(newParams)

Parameters

newParams{Object}
destroy: function()
clone: function (obj)
setUrl: function(newUrl)
mergeNewParams:function(newParams)