Ticket #528 (closed defect: fixed)
Feature Info widget defects
| Reported by: | jng | Owned by: | jng |
|---|---|---|---|
| Priority: | P2 | Milestone: | Future |
| Component: | Widgets | Version: | 2.0 |
| Severity: | Major | Keywords: | |
| Cc: | External ID: | ||
| state: | New | Browser: | All |
| Operating System: | All |
Description
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
Change History
Note: See
TracTickets for help on using
tickets.
