=== modified file 'dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/javascript/global.js' --- dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/javascript/global.js 2011-11-22 13:58:34 +0000 +++ dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/javascript/global.js 2011-11-29 13:44:05 +0000 @@ -445,7 +445,8 @@ }, convertWMSUrlToLegendString: function(url) { - return url.replace('.xml','figmap?REQUEST=GetLegendGraphic'); + var str = url.replace('wms.xml','wmsfigmap'); + return str += '?REQUEST=GetLegendGraphic'; }, createOverlay: function(name, fillColor, fillOpacity, strokeColor, strokeWidth, url) {