[fusion-trac] #528: Feature Info widget defects

Fusion trac_fusion at osgeo.org
Mon Jun 25 21:01:37 PDT 2012


#528: Feature Info widget defects
-----------------------+----------------------------------------------------
   Reporter:  jng      |       Owner:  jng   
       Type:  defect   |      Status:  new   
   Priority:  P2       |   Milestone:  Future
  Component:  Widgets  |     Version:  2.0   
   Severity:  Major    |    Keywords:        
External_id:           |       State:  New   
    Browser:  All      |          Os:  All   
-----------------------+----------------------------------------------------
 From Gordon:

 Modify the the featureinfo.php widget to only show layers that are both
 selectable and visible in the legend.
 {{{
 if(($layer->IsVisible?()) && $layer->GetSelectable?()) {
 $layerName[$layer->GetName?()] = $layer->GetLegendLabel?(); }
 }}}
 Around line 53 in /fusion/widgets/featureinfo/classes/featureinfo.php

 Ideally also, this list of layers should update itself as the map scale
 changes.

 Secondly, when display_errors = On in php.ini attempting to do a selection
 will fail because due to a PHP notice on the server side:
 {{{
 PHP Notice:  Undefined variable: _SESSION in C:\Workspace\fusion-
 trunk\layers\MapGuide\php\Utilities.php on line 793
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/fusion/ticket/528>
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