@@ -275,7 +275,7 @@ ol.source.ImageWMS.prototype.getRequestUrl_ = function(extent, size, pixelRatio,
|
||||
params[this.v13_ ? 'CRS' : 'SRS'] = projection.getCode();
|
||||
|
||||
if (!('STYLES' in this.params_)) {
|
||||
params['STYLES'] = new String('');
|
||||
params['STYLES'] = '';
|
||||
}
|
||||
|
||||
if (pixelRatio != 1) {
|
||||
|
||||
@@ -234,7 +234,7 @@ ol.source.TileWMS.prototype.getRequestUrl_ = function(tileCoord, tileSize, tileE
|
||||
params[this.v13_ ? 'CRS' : 'SRS'] = projection.getCode();
|
||||
|
||||
if (!('STYLES' in this.params_)) {
|
||||
params['STYLES'] = new String('');
|
||||
params['STYLES'] = '';
|
||||
}
|
||||
|
||||
if (pixelRatio != 1) {
|
||||
|
||||
@@ -64,9 +64,9 @@ ol.xml.getAllTextContent = function(node, normalizeWhitespace) {
|
||||
* @param {Node} node Node.
|
||||
* @param {boolean} normalizeWhitespace Normalize whitespace: remove all line
|
||||
* breaks.
|
||||
* @param {Array.<String|string>} accumulator Accumulator.
|
||||
* @param {Array.<string>} accumulator Accumulator.
|
||||
* @private
|
||||
* @return {Array.<String|string>} Accumulator.
|
||||
* @return {Array.<string>} Accumulator.
|
||||
*/
|
||||
ol.xml.getAllTextContent_ = function(node, normalizeWhitespace, accumulator) {
|
||||
if (node.nodeType == goog.dom.NodeType.CDATA_SECTION ||
|
||||
|
||||
Reference in New Issue
Block a user