Opened 12 years ago

Closed 12 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

  1. Edit the legend widget in a flexible layout by turning off the checkbox ‘Hide Invisible Layers’
  1. Open the Sheboygan map in the flexible layout from step 1
  1. Notice that the legend correctly shows the layers that are not visible in the legend (eg: Buildings and Parcels)
  1. Zoom in to 1:1000
  1. Zoom back to map extent
  1. 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

Attachments (1)

out-of-range.png (1.4 KB ) - added by jng 12 years ago.
Legend icon for layers outside of current range

Download all attachments as: .zip

Change History (2)

by jng, 12 years ago

Attachment: out-of-range.png added

Legend icon for layers outside of current range

comment:1 by jng, 12 years ago

Resolution: fixed
Status: newclosed

Fixed r2507

Note: See TracTickets for help on using tickets.