Opened 12 years ago
Closed 12 years ago
#2079 closed defect (fixed)
MapGuide Selection When Legend Hidden
Reported by: | crispinatime | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | 2.4 |
Component: | AJAX Viewer | Version: | 2.4.0 |
Severity: | blocker | Keywords: | |
Cc: | External ID: |
Change History (9)
comment:1 by , 12 years ago
comment:2 by , 12 years ago
MGOS 2.1 and 2.2 are both OK (you can select when legend is turned off).
I though it might be to do with http://trac.osgeo.org/mapguide/changeset/6789 but I backed out that change and the behaviour is still the same - no selectability!
I think this is actually a blocker IMHO
comment:3 by , 12 years ago
It was this change that caused the regression (confirmed by backing out): http://trac.osgeo.org/mapguide/ticket/1318
ajaxmapmape.templ calls GetVisSelLayers() from QueryFeatureInfo()
This in turn calls "GetLayers(true, true);" from legendui.templ
In the fix for 1318 there is a new check for "node.curScale" ... but this always appears to be undefined when I run a weblayout with or without a legend shown
comment:4 by , 12 years ago
Not disputing the severity of this issue. Just needed confirmation that this once worked in the past.
comment:5 by , 12 years ago
Yes, this worked until 3 July with the 1318 patch. Appreciate that patch was for one issue but as a side effect it has created this one!
comment:6 by , 12 years ago
Please try r6917 and confirm if this fixes the issue. If you installed 2.4 RC1, just svn update viewerfiles in your www directory and you'll get this change pulled down.
comment:7 by , 12 years ago
Installed 2.4 RC1 with SVN metadata feature enabled. That is. Otherwise just manually edit ajaxmappane.templ as per r6917 and please confirm.
comment:9 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
How did MGOS < 2.1 do this? Querying for selectable layers is doing a GetLayers() against the legend frame, which doesn't exist if the legend is turned off in the WebLayout