Ticket #833 (new defect)
Runtime map is missing legend information, if layer is initially hidden from the legend
| Reported by: | ksgeograf | Owned by: | liuar |
|---|---|---|---|
| Priority: | medium | Milestone: | 2.6 |
| Component: | Resource Service | Version: | 2.1.0 |
| Severity: | trivial | Keywords: | haspatch |
| Cc: | tomfukushima | External ID: |
Description
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.

