diff --git a/WebContent/js/FigisMap/FigisMap.js b/WebContent/js/FigisMap/FigisMap.js index 152d3bf..1e2872a 100644 --- a/WebContent/js/FigisMap/FigisMap.js +++ b/WebContent/js/FigisMap/FigisMap.js @@ -120,7 +120,8 @@ FigisMap.defaults = { mapSize : 'S', layerFilter : '', layerStyle : '*', - layerStyles : { distribution : 'all_fao_areas_style', intersecting : '*', associated : '*' } + layerStyles : { distribution : 'all_fao_areas_style', intersecting : '*', associated : '*' }, + enableRasterProjection : false }; /** @@ -2288,13 +2289,15 @@ FigisMap.renderer = function(options) { //baselayer var baselayerList = new Array(); - if(projection == 4326 || projection == 900913){ + //@eblondel 09/11/2016 testing raster reprojection by OL3 + if( (FigisMap.defaults.enableRasterProjection && ol.ENABLE_RASTER_REPROJECTION) || projection == 4326 || projection == 900913){ for(var i=0;i