[mapguide-trac] #833: Runtime map is missing legend information,
if layer is initially hidden from the legend
MapGuide Open Source
trac_mapguide at osgeo.org
Mon Feb 2 02:38:03 EST 2009
#833: Runtime map is missing legend information, if layer is initially hidden
from the legend
--------------------------------+-------------------------------------------
Reporter: ksgeograf | Owner:
Type: defect | Status: new
Priority: medium | Milestone: 2.1
Component: Resource Service | Version: 2.0.2
Severity: trivial | Keywords:
External_id: |
--------------------------------+-------------------------------------------
If the layer is not visible in the legend at startup, the legend labels
are not persisted into the runtime map.
Presumably, this is an attempt to optimize the size of the runtime map.
However, it is possible to show the layer in the legend by toggling the
corresponding flag. This will show the layer in the legend, but it will
not have the legend label.
It is fairly difficult to itterate the MapDefinition and assign the
missing values manually, so I propose that the optimization is removed.
The resulting overhead should be minimal, and the user may enter use a
blank legend label, to achieve the previous behavior.
The attached patch should work on the current trunk.
--
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/833>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list