[Mapbender-dev] [Mapbender] #476: scale parameter for
getlegendgraphic dropped by owsproxy
Mapbender
mapbender_dev at lists.osgeo.org
Wed May 27 09:15:59 EDT 2009
#476: scale parameter for getlegendgraphic dropped by owsproxy
----------------------------+-----------------------------------------------
Reporter: breul | Owner: dev
Type: defect | Status: new
Priority: trivial | Milestone: 2.6 release
Component: core | Version: 2.6 rc1
Keywords: owsproxy scale |
----------------------------+-----------------------------------------------
owsproxy of mapbender 2.4.3 seems to drop the scale parameter for
getlegendgraphic requests...
i added the following to the code here to fix my problem:
case 'getlegendgraphic':
$url = getLegendUrl($query->getOwsproxyServiceId());
//NEW
if ($reqParams['scale']!=null){
$url=$url."&SCALE=".$reqParams['scale'];
}
//END NEW
getImage($url);
break;
--
Ticket URL: <http://trac.osgeo.org/mapbender/ticket/476>
Mapbender <http://www.mapbender.org/>
Mapbender
More information about the Mapbender_dev
mailing list