Don't use the string constructor

This commit is contained in:
Frederic Junod
2016-04-27 12:22:43 +02:00
parent 762aa3029c
commit 63ebed437b
2 changed files with 2 additions and 2 deletions

View File

@@ -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) {