Opened 15 years ago
Closed 13 years ago
#1318 closed defect (fixed)
GetLayers(true,false) returns all layers, not just currently visible ones
Reported by: | tomchadwin | Owned by: | |
---|---|---|---|
Priority: | medium | Milestone: | 2.4 |
Component: | Viewer API | Version: | 2.2.0 |
Severity: | major | Keywords: | getlayers, haspatch |
Cc: | External ID: |
Change History (4)
by , 14 years ago
Attachment: | 1318.patch added |
---|
comment:1 by , 14 years ago
Severity: | trivial → major |
---|---|
Version: | 2.1.0 → 2.2.0 |
comment:2 by , 13 years ago
Keywords: | haspatch added |
---|---|
Milestone: | → 2.4 |
comment:3 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
A fix has been proposed by user doggybs on internal ml
http://osgeo-org.1803224.n2.nabble.com/Viewer-API-GetLayers-onlyVisible-onlySelectable-td3154987.html
I attach the diff in the patch file. I can confirm that the problem appears also in 2.2RC and in 2.2 final and it appears to be solved by the patch.
Since this affect the viewerAPI it would be important IMHO to review and apply the patch quickly