i noticed that occasionally there are two issues related to legend updates after some formats are changed:
My application requires changing legend formats dynamically or on the fly. After that,
- sometime I have to change map scales to allow legend to be updated even map is changed
- sometime when I go back to the scale when I changed map/legend formatting, I got the old legend.
My app is using ClassBreakStyle. A typical change the users often do is to change the number of breaks and break values.
If the legend is a separate image created at the server side, I am wondering how it is cached and how the cache is invalidated? Possible when I go back to the previous scale or the map refreshes, the app is still thinking that the legend does not change and loads the cached image?
just some "Crazy" thinking here.
Help!