Ignore:
Timestamp:
27/08/09 16:23:55 (11 years ago)
Author:
pnorton
Message:

Improved the legend min and max handling in the csml backend, also changed the controller slightly to pass the dimensions to the getLegendImage function.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cows/trunk/cows/pylons/wms_controller.py

    r5640 r5672  
    495495        additionalParams = self._getAdditionalParameters(['format']) 
    496496         
    497         img = layerObj.getLegendImage(renderOpts=additionalParams) 
     497        dimValues = self._getDimValues(layerObj) 
     498         
     499        img = layerObj.getLegendImage(dimValues, renderOpts=additionalParams) 
    498500         
    499501        self._writeImageResponse(img, format) 
Note: See TracChangeset for help on using the changeset viewer.