Opened 12 years ago
Closed 12 years ago
#161 closed defect (fixed)
Dynamic legend not showing when changing scale
Reported by: | andersd | Owned by: | theduckylittle |
---|---|---|---|
Priority: | major | Milestone: | 2.6.1 |
Component: | GeoMOOSE/PHP | Version: | 2.6 |
Keywords: | Cc: | Bob.Bistrais@… |
Description
This was first reported by Bob a while back as follows and he says it more clearly than I:
I have map layers that have a Maxscaledenom set. The legends for these layers were not displaying, even when zoomed into the visible scale range. I am now finding that, with the Maxscaledenom set, if the layer is turned off until you zoom into the Maxscaledenom, the legend will display when you turn it on. If you have the layer on when outside the maxscaledenom, then zoom into the visible range, the legend does not show unless you turn the layer off, then on again. It’s like you need to “refresh” the TOC to get the legend to show.
A simple way to test in trunk demo is as follows:
- Go to trunk demo.
- edit parcels.map - add --> maxscaledenom 20000 <-- to layer
- Open app - zoom in (legend does not show)
- Turn layer off/on - legend shows
Change History (3)
comment:1 by , 12 years ago
Owner: | set to |
---|---|
Status: | new → assigned |
comment:2 by , 12 years ago
Status: | assigned → testing |
---|
comment:3 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | testing → closed |
Tested in Chrome as indicated in the original problem. Seems to be working now.
I was able to recreate this given the instructions. The fix is in r930.