diff --git a/web/client/utils/mapinfo/__tests__/wmts-test.js b/web/client/utils/mapinfo/__tests__/wmts-test.js index 72d1c043950..1bcbb840087 100644 --- a/web/client/utils/mapinfo/__tests__/wmts-test.js +++ b/web/client/utils/mapinfo/__tests__/wmts-test.js @@ -213,6 +213,7 @@ describe('mapinfo wmts utils', () => { request: 'GetFeatureInfo', layer: 'gs:us_states', infoformat: 'text/plain', + format: 'image/png', style: '', tilecol: 3, tilerow: 5, diff --git a/web/client/utils/mapinfo/wmts.js b/web/client/utils/mapinfo/wmts.js index 1834341c4dc..5a622dcee01 100644 --- a/web/client/utils/mapinfo/wmts.js +++ b/web/client/utils/mapinfo/wmts.js @@ -95,6 +95,7 @@ export default { request: 'GetFeatureInfo', layer: layer.name, infoformat: props.format, + format: layer.format, style: layer.style || '', ...assign({}, params), tilecol: tileCol,