update ND and function declarations for getFullRequestString() in WFS/WMS to match the original in their superclass, HTTPRequest.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@4930 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -373,8 +373,9 @@ OpenLayers.Layer.WFS = OpenLayers.Class(
|
|||||||
*
|
*
|
||||||
* Parameters:
|
* Parameters:
|
||||||
* newParams - {Object}
|
* newParams - {Object}
|
||||||
|
* altUrl - {String} Use this as the url instead of the layer's url
|
||||||
*/
|
*/
|
||||||
getFullRequestString:function(newParams) {
|
getFullRequestString:function(newParams, altUrl) {
|
||||||
var projection = this.map.getProjection();
|
var projection = this.map.getProjection();
|
||||||
this.params.SRS = (projection == "none") ? null : projection;
|
this.params.SRS = (projection == "none") ? null : projection;
|
||||||
|
|
||||||
|
|||||||
@@ -202,11 +202,12 @@ OpenLayers.Layer.WMS = OpenLayers.Class(OpenLayers.Layer.Grid, {
|
|||||||
*
|
*
|
||||||
* Parameters:
|
* Parameters:
|
||||||
* newParams - {Object}
|
* newParams - {Object}
|
||||||
|
* altUrl - {String} Use this as the url instead of the layer's url
|
||||||
*
|
*
|
||||||
* Returns:
|
* Returns:
|
||||||
* {String}
|
* {String}
|
||||||
*/
|
*/
|
||||||
getFullRequestString:function(newParams) {
|
getFullRequestString:function(newParams, altUrl) {
|
||||||
var projection = this.map.getProjection();
|
var projection = this.map.getProjection();
|
||||||
this.params.SRS = (projection == "none") ? null : projection;
|
this.params.SRS = (projection == "none") ? null : projection;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user