Opened 13 years ago
Closed 13 years ago
#510 closed defect (fixed)
Legend HideInvisibleLayers extension property does not work when set to false
Reported by: | jng | Owned by: | madair |
---|---|---|---|
Priority: | P2 | Milestone: | Future |
Component: | Widgets | Version: | 2.0 |
Severity: | Major | Keywords: | |
Cc: | Browser: | All | |
External ID: | Operating System: | All | |
state: | New |
Description
When the HideInvisibleLayers extension property is set to false, the the layers invisible at the initial extent are shown correctly in the legend. However when the user zooms in and then back out again the invisible layers disappear from the legend.
Steps to reproduce
- Edit the legend widget in a flexible layout by turning off the checkbox ‘Hide Invisible Layers’
- Open the Sheboygan map in the flexible layout from step 1
- Notice that the legend correctly shows the layers that are not visible in the legend (eg: Buildings and Parcels)
- Zoom in to 1:1000
- Zoom back to map extent
- Notice that legend now does not show the Building or Parcel layers.
Also, by default any layer that is not visible in the current range shows as a white square in the legend. It would be more appropriate to show the layers that are not visible using a special icon – we developed one for this exact purpose, it is a magnifying glass with red line through it to indicate unavailability of the layer at current scale. Attached is the suggested icon
Legend icon for layers outside of current range