Ticket #528 (closed defect: fixed)

Opened 11 months ago

Last modified 11 months ago

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

Changed 11 months ago by jng

  • status changed from new to closed
  • resolution set to fixed

Fixed r2543. We won't make the layer list auto-refresh as Fusion does not expose a map scale changed event that we could hook onto. The user can always re-invoke the widget to get the current list.

Note: See TracTickets for help on using tickets.