[Chameleon-dev] [Bug 179] New: Scale-dependent layers in LegendTemplate widget: not visible
Mon, 12 Jan 2004 16:40:35 -0500

           Summary: Scale-dependent layers in LegendTemplate widget: not
           Product: Chameleon
           Version: 1.1
          Platform: PC
        OS/Version: Windows 2000
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Widget

You can do this by changing the opt_flags in the leg_layer_html block to be 14 
which will hide out of scale layers.  But this won't work with Context 
documents until the next revision of the spec, which will support scale hints

If I use this option the scale dependent layer turns up at the rights point, 
but has a STATUS OFF (using option 15 this layer is visible). This is caused by 
the following lines of LegendTemplate code:
    $oLayer->set("status", MS_OFF);

The existing solution to track new layers should be applied to scale-dependent 
layers.  I think we need a new mapscript function to return a list of layers 
that are included in the legend when using mapscript's processlegendtemplate 

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

This archive was generated by Pipermail.