Bug 764

Summary: [Chameleon - Sample] LegendTemplate cannot turn on layers that are originally off.
Product: Chameleon Reporter: Chris Thorne <cthorne@dmsolutions.ca>
Component: SamplesAssignee: chameleon-dev <chameleon-dev@lists.maptools.org>
Status: CLOSED FIXED    
Severity: normal    
Priority: P2    
Version: 1.99   
Target Milestone: 1.99 beta 3   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description From 2004-10-25 09:51:32
http://localhost/chameleon/samples/sample_enhanced.phtml

in beta 3 package candidate 1. I am unable to turn on layers that are turned of
in the legend template.

This should be fixed for beta 3
------- Comment #1 From 2004-10-25 09:56:03 -------
changing target for beta3
------- Comment #2 From 2004-10-25 10:58:28 -------
The legendwidget has changed (can't find the bug right now) to include
specifying whether the legend controls visibility or not ... this was to work
around a problem that involved using two legend templates in the same page
(specifically the layermanager2, but it also occurred with multiple
legendtemplates in the same page).  The new attribute is controlvisibility.  It
is set to true by default, but is set to the false in the legendtemplate widget
in the enhanced app (at least, the version committed to cvs).

You can use the popup legend on the tools menu to control visibility :)
------- Comment #3 From 2004-10-25 11:49:54 -------
This many not be an issue for the widget, but it is an issue for the sample
applications using embedded LegendTemplates. I am reopening this bug so that
this issue can be fixed for the sample application. 

I am setting taget to RC1. Darren do you agree?
------- Comment #4 From 2004-10-25 12:03:49 -------
ok I fixed the controlvisibility attribute parameter for the enhanced sample
application:
http://localhost/chameleon/samples/sample_enhanced.phtml

fixed in cvs. I need this to work to verfiey another bug. :)
------- Comment #5 From 2004-10-25 12:18:49 -------
*** Bug 768 has been marked as a duplicate of this bug. ***
------- Comment #6 From 2004-10-25 12:54:50 -------
I think this bug 424.
------- Comment #7 From 2004-10-26 14:20:11 -------
Verified on Fedora Core 2.  I guess Chris only needs to close this bug.
------- Comment #8 From 2004-10-26 14:21:59 -------
closing bug.