OpenLayers JavaScript Mapping Library |
OpenLayers. Layer. HTTPRequestInherits fromSummary
reprojectDeprecated. 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. clone
Parameters
Returns{OpenLayers.Layer.HTTPRequest} An exact clone of this OpenLayers.Layer.HTTPRequest selectUrl
selectUrl() implements the standard floating-point multiplicative hash function described by Knuth, and hashes the contents of the given param string into a float between 0 and 1. This float is then scaled to the size of the provided urls array, and used to select a URL. Parameters
Returns{String} An entry from the urls array, deterministically selected based on the paramString. getFullRequestString
Combine url with layer’s params and these newParams. does checking on the serverPath variable, allowing for cases when it is supplied with trailing ? or &, as well as cases where not. return in formatted string like this”server?key1=value1&key2=value2&key3=value3” WARNING: The altUrl parameter is deprecated and will be removed in 3.0. Parameters
Returns{String} |
destroy: function()
clone: function ( obj )
setUrl: function( newUrl )
mergeNewParams:function( newParams )
selectUrl() implements the standard floating-point multiplicative hash function described by Knuth, and hashes the contents of the given param string into a float between 0 and 1.
selectUrl: function( paramString, urls )
Combine url with layer’s params and these newParams.
getFullRequestString:function( newParams, altUrl )