[mapguide][MG153][Modified] AJAX Legend control hides groups when no children are displa...

Walt Welton-Lair walt.welton-lair at autodesk.com
Wed Mar 22 15:18:40 EST 2006


You can view the artifact detail at the following URL:

    https://mapguide.osgeo.org/servlets/Scarab/id/MG153

Type:
Defect

Artifact ID:
MG153 (AJAX Legend control hides groups when no children are displayed)

Modified by:
Walt Welton-Lair
waltweltonlair (walt.welton-lair at autodesk.com)

The following modifications were made to this artifact:
---------------------------------------------------------------------

-- Description set to new value:
Old value:
Both the DWF viewer and the AJAX viewer currently hide a group when it has no children. A group can have children (layers or groups) but none of them are display at some point of time, either they are not visible at the current scale or because they have the ShowInLegend flag set to false. In that case we still need to display the containing group, so we can turn on/off the visibility in the map of the children.
New value:
Both the DWF viewer and the AJAX viewer currently hide a group when it has no children. A group can have children (layers or groups) but none of them are displayed at some point of time, either because they are not visible at the current scale or because they have the ShowInLegend flag set to false. In the latter case we still need to display the containing group, so we can turn on/off the visibility in the map of the children.

-- Steps to Reproduce set to new value:
Old value:
Create a map with one group and one layer in this group.
Set the layer's flag ShowInLegend to false.
Open a web layout using this map.

==> The legend control is empty

The group should apper on display.
New value:
Create a map with one group and one layer in this group.
Set the layer's ShowInLegend flag to false.
Open a web layout using this map.

==> The legend control is empty

The group should appear on display.

-- Priority set to new value:
P3



---------------------------------------------------------------------
This message was automatically generated by Project Tracker.








More information about the Mapguide_issues mailing list