Hi,
I had some problems with Intermap in Geonetwork 2.2.0: the navigation functions didn't work when I used directly Intermap (not embedded in Geonetwork); I had always the same error message:
Exception 'im_redrawMarkers is not defined'
I solved the problem by adding in index.xsl ( [geonetwork inst dir]/web/intermap/xsl/ ) the reference to the javascript library that contains the im_redrawMarkers function:
<script type="text/javascript" src="{/root/gui/url}/scripts/im_markers.js?"/>
Was there another way to solve this problem?
Cheers
Marco
--
Marco Negretti
Politecnico di Milano - Polo Regionale di Como
tel: +39.031.332.7524 - fax: +39.031.332.7519
email: marco.negretti@anonymised.com
http://geomatica.como.polimi.it/
_________________________________________________________
http://www.gnu.org/philosophy/no-word-attachments.it.html
Hi Marco,
Was there another way to solve this problem?
No, that's the right way
This very same fix was commited here:
Revision: 1300
http://geonetwork.svn.sourceforge.net/geonetwork/?rev=1300&view=rev
Author: e_tajariol
Date: 2008-05-27 07:13:04 -0700 (Tue, 27 May 2008)
Log Message:
-----------
Including im_markers.js
but I guess it is not included in the current downloadable installer.
Cheers.
Emanuele
Alle 12:29:02 di mercoledì 16 luglio 2008, Marco Negretti ha scritto:
Hi,
I had some problems with Intermap in Geonetwork 2.2.0: the navigation
functions didn't work when I used directly Intermap (not embedded in
Geonetwork); I had always the same error message:
Exception 'im_redrawMarkers is not defined'
I solved the problem by adding in index.xsl ( [geonetwork inst
dir]/web/intermap/xsl/ ) the reference to the javascript library that
contains the im_redrawMarkers function:
<script type="text/javascript"
src="{/root/gui/url}/scripts/im_markers.js?"/>
Was there another way to solve this problem?
Cheers
Marco