Ticket #1023 (closed defect: fixed)
Low perfomace while generating legend
| Reported by: | liuar | Owned by: | Arthur Liu |
|---|---|---|---|
| Priority: | medium | Milestone: | 2.1 |
| Component: | General | Version: | 2.0.2 |
| Severity: | major | Keywords: | |
| Cc: | External ID: | 1236462 |
Description
A customer who has a map with 700+ layers. Currently each layer sends request to generate legend even if it’s hidden or disabled. The legend should be generated on demand to improve performance.
Expect: The legend generated dynamically, so the map author could improve the performace by well organized groups.
1. For the layers which are not displayed in the legend, browser should not send requests to generate legend images. 2. If the user expand a group, then the request will be sent out to generate the legend images for the layers in that group. 3. If a layer's legend image is requested, browser will not send requests unless the legend image has been changed due to the scale changing.

