[fusion-trac] #510: Legend HideInvisibleLayers extension property does not work when set to false

Fusion trac_fusion at osgeo.org
Wed Jan 4 02:26:44 EST 2012


#510: Legend HideInvisibleLayers extension property does not work when set to
false
-----------------------+----------------------------------------------------
   Reporter:  jng      |       Owner:  madair
       Type:  defect   |      Status:  new   
   Priority:  P2       |   Milestone:  Future
  Component:  Widgets  |     Version:  2.0   
   Severity:  Major    |    Keywords:        
External_id:           |       State:  New   
    Browser:  All      |          Os:  All   
-----------------------+----------------------------------------------------
 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’

  2. Open the Sheboygan map in the flexible layout from step 1

  3. Notice that the legend correctly shows the layers that are not visible
 in the legend (eg: Buildings and Parcels)

  4. Zoom in to 1:1000

  5. Zoom back to map extent

  6. 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

-- 
Ticket URL: <http://trac.osgeo.org/fusion/ticket/510>
Fusion <http://trac.osgeo.org/fusion>
Fusion is a web-mapping application development framework for MapServer and MapGuide OS.


More information about the fusion-trac mailing list