smas1 / geoext-viewer

Automatically exported from code.google.com/p/geoext-viewer
GNU General Public License v3.0
0 stars 0 forks source link

Backporting PDOKCapabilitiesPanel to Heron trunk #370

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Backport PDOKCapabalitiestPanel to a CapabilitiesViewPanel in the Heron trunk. 

All tags of a capabilities XML of a layer will be presented in a treeview.

Original issue reported on code.google.com by Martijn....@gmail.com on 6 May 2014 at 8:49

GoogleCodeExporter commented 9 years ago
See example: http://lib.heron-mc.org/heron/latest/examples/capabilitiesviewpanel

Original comment by jus...@gmail.com on 8 May 2014 at 11:30

GoogleCodeExporter commented 9 years ago
capabilitiesviewpanel is overriding geoext.capabilitiestreeloader and thereby 
rendering a complete capabilities tree instead of a layer tree. This breaks the 
existing Heron Capabilitiestreepanel.
see example http://lib.heron-mc.org/heron/latest/examples/capabilitiestreepanel

Original comment by Martijn....@gmail.com on 23 May 2014 at 8:22

GoogleCodeExporter commented 9 years ago
The code contains debug console print statements like 'processLayer' and 
'addLayers2Tree'. See e.g. test version PDOK: http://test.pdokviewer.pdok.nl 

Original comment by jus...@gmail.com on 26 May 2014 at 8:56

GoogleCodeExporter commented 9 years ago
renamed extended GeoExt.tree class to CapabilitiesViewLoader so the 
CapabilitiesTreePanel and the CapabilitesTreePanel both work

Original comment by Martijn....@gmail.com on 26 May 2014 at 7:42

GoogleCodeExporter commented 9 years ago
the console print statements were removed in revision 1483

Original comment by Martijn....@gmail.com on 26 May 2014 at 7:46

GoogleCodeExporter commented 9 years ago
The IE10 issue (response XML not loading into DOM tree) should be fixed, see 
http://lib.heron-mc.org/heron/latest/examples/capabilitiesviewpanel

The problem was in the processResponse() function where 'doc' was undefined 
plus some other variable ('resp') quirks. btw this problem was already in the 
original code ported from TNO/PDOK, but never appeared since it was developed 
in the pre-IE10 era.

Original comment by jus...@gmail.com on 3 Jun 2014 at 11:15

GoogleCodeExporter commented 9 years ago
Confirmed, can close.

Original comment by jus...@gmail.com on 3 Jun 2014 at 12:22