Hi All,
It is possible to reduce the size of the bounding box image that appears in the middle of the metadata?
If yes, which is the file to edit?
1000 of thanks in advance,
Patrizia
Patrizia Monteduro
GeoNetwork www.fao.org/geonetwork
Food and Agriculture Organization of the UN (FAO)
Viale delle Terme di Caracalla, 1 - 00153 Rome ITALY
Room F815; Tel. +39 06 570 54769; Fax +39 06 570 53369
patrizia.monteduro@anonymised.com
Hi All,
It is possible to reduce the size of the bounding box image that appears in the middle of the metadata?
If yes, which is the file to edit?
1000 of thanks in advance,
Patrizia
Patrizia Monteduro
GeoNetwork www.fao.org/geonetwork
Food and Agriculture Organization of the UN (FAO)
Viale delle Terme di Caracalla, 1 - 00153 Rome ITALY
Room F815; Tel. +39 06 570 54769; Fax +39 06 570 53369
patrizia.monteduro@anonymised.com
Hi All,
It is possible to reduce the size of the bounding box image that appears in the middle of the metadata?
If yes, which is the file to edit?
1000 of thanks in advance,
Patrizia
Patrizia Monteduro
GeoNetwork www.fao.org/geonetwork
Food and Agriculture Organization of the UN (FAO)
Viale delle Terme di Caracalla, 1 - 00153 Rome ITALY
Room F815; Tel. +39 06 570 54769; Fax +39 06 570 53369
patrizia.monteduro@anonymised.com
Thank you a lot Kai,
I'll try and let you know,
Patrizia
-----Original Message-----
From: Kai Liu [mailto:kliu4@anonymised.com]
Sent: 21 October 2011 23:04
To: Monteduro, Patrizia (NRL)
Cc: 'geonetwork-devel@lists.sourceforge.net'
Subject: Re: [GeoNetwork-devel] reducing bounding box
Hi Patrizia,
There are two files should be modified to reduce the boundingbox:
1) web/geonetwork/WEB-INF/config-gui.xml
line 26-29:
<metadata>
<width>100%</width>
<height>100px</height>
</metadata>
2) web/geonetwork/scripts/geo/extentMap.js
line 323-330:
var mapPanel = new GeoExt.MapPanel({
renderTo: id,
height: 100, // TODO : make config file see with ELE.
width: 600,
map: map,
//title: 'Geographic extent', // TODO : i18n,
tbar: (extentMap.edit?tbarItems:null)
});
In this example, I reduced the boundingbox's height to 100px
Cheers,
Kai
Joint Center for Intelligent Spatial Computing
George Mason University
703-395-2337