#334: copy/paste error in xsl/main-page.xsl
----------------------------+-----------------------------------------------
Reporter: landry | Owner: geonetwork-devel@…
Type: defect | Status: new
Priority: critical | Milestone: v2.6.0
Component: Web Map Viewer | Version: v2.6.0
Keywords: |
----------------------------+-----------------------------------------------
In initMapViewer(), the projection/bounds/restrictedBounds values are
taken from /root/gui/config/mapSearch/ config tree, whereas they should be
taken from /root/gui/config/mapViewer subtree.
{{{
<xsl:when test="/root/gui/config/mapViewer/proj/crs/@code">
^^^^^^^^^^
var projection = "<xsl:value-of
select='/root/gui/config/mapSearch/proj/crs/@code'/>";
^^^^^^^^^^
</xsl:when>
}}}
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/334>
GeoNetwork opensource Developer website <http://trac.osgeo.org/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.