Mercurial > dive4elements > gnv-client
changeset 979:96db238fc5ab
Fixed bug that the 'Add Layer'-Button was not correctly displayed if a new WMS-Capabilities-Document was loaded.
gnv/trunk@1155 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Fri, 04 Jun 2010 08:32:29 +0000 |
parents | cfea6dacd52a |
children | 80a5cde45d12 |
files | gnv/ChangeLog gnv/src/main/webapp/WEB-INF/jsp/includes/display_map_inc.jsp gnv/src/main/webapp/scripts/olutils.js |
diffstat | 3 files changed, 15 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/gnv/ChangeLog Fri Jun 04 06:13:41 2010 +0000 +++ b/gnv/ChangeLog Fri Jun 04 08:32:29 2010 +0000 @@ -1,3 +1,12 @@ +2010-06-04 Tim Englich <tim.englich@intevation.de> + + * src/main/webapp/WEB-INF/jsp/includes/display_map_inc.jsp, + /src/main/webapp/scripts/olutils.js: + Fixed bug that the "Add Layer"-Button was not correctly displayed if a + new WMS-Capabilities-Document was loaded. + Also improved the GUI that it is now Possible to load a WMS with a lot of + layer which could not be displayed in the GUI without uisng a scrollbar. + 2010-06-04 Ingo Weinzierl <ingo.weinzierl@intevation.de> Issue275 @@ -25,7 +34,7 @@ Checkin of changes which are necessary for the checkin of Revision 1139. * src/main/java/de/intevation/gnv/action/sessionmodel/SessionModel.java (selectArtifactFactory), - * src/main/java/de/intevation/gnv/action/sessionmodel/DefaultSessionModel.java (selectedArtifactFactory): + src/main/java/de/intevation/gnv/action/sessionmodel/DefaultSessionModel.java (selectedArtifactFactory): Added functions for getting and setting a Mapservice to the SessionModel. * src/main/java/de/intevation/gnv/action/WMSAction.java :
--- a/gnv/src/main/webapp/WEB-INF/jsp/includes/display_map_inc.jsp Fri Jun 04 06:13:41 2010 +0000 +++ b/gnv/src/main/webapp/WEB-INF/jsp/includes/display_map_inc.jsp Fri Jun 04 08:32:29 2010 +0000 @@ -1,6 +1,6 @@ -<div id="cap"> +<div id="cap" style="height: 100%; width: 100%; overflow: auto"> <div id="remoteinput"> - <div id="urlinput"><!-- Just a Comment --></div> + <div id="urlinput" style="width: 96%"><!-- Just a Comment --></div> <div id="urlbutton"><!-- Just a Comment --></div> </div> <div id="capgrid"><!-- Just a Comment --></div>
--- a/gnv/src/main/webapp/scripts/olutils.js Fri Jun 04 06:13:41 2010 +0000 +++ b/gnv/src/main/webapp/scripts/olutils.js Fri Jun 04 08:32:29 2010 +0000 @@ -133,9 +133,9 @@ collapsible: false, split: false, border: true, - height: 440, - //autoHeight: true, don't use autoHeight, because the component doesn't - //take care on the 'addLayer' button at the bottom + // TODO: autoHeight might cause trouble + autoHeight: true, + overflow: 'auto', store: store, cm: new Ext.grid.ColumnModel([ {