Ignore:
Timestamp:
18/03/08 16:39:36 (13 years ago)
Author:
cbyrom
Message:

Add basic GetLegend? webservice to allow lookup of legend graphic when
displaying layers in view tab.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/controllers/viewItems.py

    r3611 r3647  
    2121         
    2222        # check if we're doing an AJAX callback to get some WMC data 
    23         if 'REQUEST' in self.inputs and self.inputs['REQUEST'] == 'GetWebMapContext': 
    24             return GetWebMapContext(self) 
     23        if 'REQUEST' in self.inputs: 
     24            if self.inputs['REQUEST'] == 'GetWebMapContext': 
     25                return GetWebMapContext(self) 
     26            elif self.inputs['REQUEST'] == 'GetLegend': 
     27                return GetLegend(self) 
     28 
    2529         
    2630        # otherwise, we can get here by two routes: 
Note: See TracChangeset for help on using the changeset viewer.