Named exports from ol/string
This commit is contained in:
@@ -14,7 +14,7 @@ import _ol_size_ from '../size.js';
|
||||
import TileImage from '../source/TileImage.js';
|
||||
import WMSServerType from '../source/WMSServerType.js';
|
||||
import _ol_tilecoord_ from '../tilecoord.js';
|
||||
import _ol_string_ from '../string.js';
|
||||
import {compareVersions} from '../string.js';
|
||||
import {appendParams} from '../uri.js';
|
||||
|
||||
/**
|
||||
@@ -340,6 +340,6 @@ TileWMS.prototype.updateParams = function(params) {
|
||||
*/
|
||||
TileWMS.prototype.updateV13_ = function() {
|
||||
const version = this.params_['VERSION'] || DEFAULT_WMS_VERSION;
|
||||
this.v13_ = _ol_string_.compareVersions(version, '1.3') >= 0;
|
||||
this.v13_ = compareVersions(version, '1.3') >= 0;
|
||||
};
|
||||
export default TileWMS;
|
||||
|
||||
Reference in New Issue
Block a user