I have several images in EPSG:3857 which are originally from the Google maps API. I have a map layer which is based on OpenLayers v3.6 and it is in EPSG:21781. I would like to project the images from EPSG:3857 on top of EPSG:21781 layer. From the Openlayers API V3.11 there is an option to reproject at the client side on the fly with the following example code.
layers['bng'] = new ol.layer.Tile({
source: new ol.source.XYZ({
projection: 'EPSG:3857',
url: 'https://tileserver.maptiler.com/miniscale/{z}/{x}/{y}.png',
crossOrigin: '',
maxZoom: 6
})
});
Since I am stuck with V3.6, I would like to convert the images at the server side and project them on top of EPSG:21781. Could someone help me with this.