#953: Map title bar disappears when interactive resource is added through the
search results
----------------------------------+-----------------------------------------
Reporter: xzam | Owner: geonetwork-devel@…
Type: defect | Status: new
Priority: major | Milestone: v2.6.5
Component: Web Map Viewer | Version: v2.6.4
Keywords: Map Panel, Title Bar |
----------------------------------+-----------------------------------------
'''Problem:'''
The map title bar disappears (or in other words is reduced in height
significantly) when a interactive resource is added to the map following
the steps below.
'''Prerequisites:'''
- The main map is in hidden state
'''Steps to reproduce the behavior:'''
- locate a interactive resource in the search result panel
- add the resource to the map (the map should fade in and the new layer is
added)
- click on the button for hiding the map-panel (top-left corner)
- result should be that the title-bar of the map disappears. It´s not
possible to permanently display the mappanel afterwards because the button
for this is not visible/clickable anymore
(the attached image shows this status - marked with red)
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/953>
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/>
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.
#953: Map title bar disappears when interactive resource is added through the
search results
----------------------------------+-----------------------------------------
Reporter: xzam | Owner: geonetwork-devel@…
Type: defect | Status: new
Priority: major | Milestone: v2.6.5
Component: Web Map Viewer | Version: v2.6.4
Keywords: Map Panel, Title Bar |
----------------------------------+-----------------------------------------
Comment(by xzam):
Here is a link to our geonetwork to reproduce the bug:
[http://131.220.109.2/geonetwork\]
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/953#comment:1>
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/>
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.
#953: Map title bar disappears when interactive resource is added through the
search results
----------------------------------+-----------------------------------------
Reporter: xzam | Owner: geonetwork-devel@…
Type: defect | Status: new
Priority: major | Milestone: v2.6.5
Component: Web Map Viewer | Version: v2.6.4
Keywords: Map Panel, Title Bar |
----------------------------------+-----------------------------------------
Comment(by ianwallen):
In the file ./geonetwork/web/geonetwork/scripts/gn_search.js
If I remove the call to the following mainViewport.doLayout(); from the
addWMSLayer function it seems to fix the issue. Anyone know why doLayout
is required?
{{{
function addWMSLayer(layers) {
Ext.getCmp("north-map-panel").expand();
// mainViewport.doLayout();
GeoNetwork.mapViewer.addWMSLayer(layers);
}
}}}
Only tested on Firefox - Maybe it is required for other browsers?
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/953#comment:2>
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/>
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.
#953: Map title bar disappears when interactive resource is added through the
search results
-----------------------------+----------------------------------------------
Reporter: xzam | Owner: geonetwork-devel@…
Type: defect | Status: closed
Priority: major | Milestone: v2.9.0
Component: Web Map Viewer | Version: v2.6.4
Resolution: fixed | Keywords: Map Panel, Title Bar
-----------------------------+----------------------------------------------
Changes (by ianwallen):
* status: new => closed
* resolution: => fixed
* milestone: v2.6.5 => v2.9.0
Comment:
Applied fix in commit f00b5fc35cde4dfbd3a61c2ff882efcda16e354e (master)
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/953#comment:3>
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/>
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.
#953: Map title bar disappears when interactive resource is added through the
search results
-----------------------------+----------------------------------------------
Reporter: xzam | Owner: geonetwork-devel@…
Type: defect | Status: closed
Priority: major | Milestone: v2.8.1
Component: Web Map Viewer | Version: v2.6.4
Resolution: fixed | Keywords: Map Panel, Title Bar
-----------------------------+----------------------------------------------
Changes (by ianwallen):
* milestone: v2.9.0 => v2.8.1
Comment:
Commit 357e53fc1d3acf12c2296d4362a4ca51b4963429 in 2.8 branch
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/953#comment:4>
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/>
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.