Ticket #833 (new defect)
Runtime map is missing legend information, if layer is initially hidden from the legend
|Reported by:||ksgeograf||Owned by:||liuar|
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.