diff --git a/modules/renderer/background_source.js b/modules/renderer/background_source.js index 34d9e26b7..0e3ab0412 100644 --- a/modules/renderer/background_source.js +++ b/modules/renderer/background_source.js @@ -174,7 +174,7 @@ export function rendererBackgroundSource(data) { // WMS 1.3 flips x/y for some coordinate systems including EPSG:4326 - #7557 if (projection === 'EPSG:4326' && // The CRS parameter implies version 1.3 (prior versions use SRS) - /VERSION=1.3|CRS={proj}/.test(source.template())) { + /VERSION=1.3|CRS={proj}/.test(source.template().toUpperCase())) { return maxXminY.y + ',' + minXmaxY.x + ',' + minXmaxY.y + ',' + maxXminY.x; } else { return minXmaxY.x + ',' + maxXminY.y + ',' + maxXminY.x + ',' + minXmaxY.y;