![]() |
||||
|
|
||||
[Chameleon-dev] [Bug 179] New: Scale-dependent layers in LegendTemplate widget: not visiblebugzilla-daemon@www.maptools.org bugzilla-daemon@www.maptools.orgMon, 12 Jan 2004 16:40:35 -0500
|
||||
http://www.maptools.org/bugzilla/show_bug.cgi?id=179
Summary: Scale-dependent layers in LegendTemplate widget: not
visible
Product: Chameleon
Version: 1.1
Platform: PC
OS/Version: Windows 2000
Status: NEW
Severity: normal
Priority: P2
Component: Widget
AssignedTo: chameleon-dev@lists.maptools.org
ReportedBy: bartvde@xs4all.nl
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:
else
$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
function.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
This archive was generated by Pipermail. |
MapTools.org -- Hosted by DM Solutions Group |