Ticket #833 (new defect)

Opened 4 years ago

Last modified 2 months ago

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.

Attachments

Patch for not removing legend information.diff Download (2.8 KB) - added by ksgeograf 4 years ago.

Change History

Changed 4 years ago by ksgeograf

Changed 4 years ago by jbirch

  • cc tomfukushima added

Has this been applied?

Changed 4 years ago by tomfukushima

  • owner set to chrisclaydon

Changed 3 years ago by jbirch

I believe this may be a duplicate (sure looks familiar). Is this still a problem with 2.1? If so, could we get a review of the suggested fix?

Changed 3 years ago by ksgeograf

  • version changed from 2.0.2 to 2.1.0

Changed 3 years ago by tomfukushima

  • owner changed from chrisclaydon to liuar

Reassigning to Arthur.

Changed 2 years ago by zspitzer

  • keywords haspatch added

Changed 5 months ago by jng

  • milestone set to 2.5

Changed 2 months ago by jng

  • milestone changed from 2.5 to 2.6
Note: See TracTickets for help on using tickets.