Ticket #22 (closed enhancement: fixed)
Improve AJAX Viewer Load Time
| Reported by: | robertbray | Owned by: | |
|---|---|---|---|
| Priority: | medium | Milestone: | |
| Component: | General | Version: | |
| Severity: | major | Keywords: | |
| Cc: | External ID: | 928327 |
Description
I have noticed that load times for Maps with a large number of layers (20+) tend to be slow because it takes quite a while to generate and load the individual legend graphic images. In fact the more layers the slower the load time.
It may be significantly better to generate one image strip that contains all of the legend images for a map and have each legend entry display the corresponding portion of the image strip. To further enhance performance that image strip could be cached with the MapDefinition (as resource data) and only be regenerated when the MapDefinition changes. A second strip could be maintained in session state for runtime layer additions to the map.
