This leads to wrong tile position when using openlayer map with wms layer and custom origin.
"layers": [{
"type": "wms",
"url":["https://mybrugis.irisnet.be/geoserver/URBIS/wms"],
"title": "UrbisFR",
"name": "URBIS:urbisFR",
"group": "background",
"visibility": true,
"format": "image/png8",
"origin" : [140000.0,160000.0],
"thumbURL" : "assets/img/urbis_color.PNG",
"tiled" : true
},{
Description
When using SaveLayer util (https://github.com/geosolutions-it/MapStore2/blob/master/web/client/utils/LayersUtils.js#L363) the custom origin is not saved.
This leads to wrong tile position when using openlayer map with wms layer and custom origin.
Steps to reproduce
if you have a layer defined like this in the config.json
SaveLayer skip the origin parameter
Expected Result
Save layer save the origin parameter
Current Result
Not saved
Other useful information (optional):
A PR will come soon