[Mapbender-commits] r6675 - trunk/mapbender/http/print

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Aug 2 09:55:30 EDT 2010


Author: christoph
Date: 2010-08-02 13:55:30 +0000 (Mon, 02 Aug 2010)
New Revision: 6675

Modified:
   trunk/mapbender/http/print/mod_printPDF.php
Log:
html 4.01 transitional compatibility

Modified: trunk/mapbender/http/print/mod_printPDF.php
===================================================================
--- trunk/mapbender/http/print/mod_printPDF.php	2010-08-02 13:54:36 UTC (rev 6674)
+++ trunk/mapbender/http/print/mod_printPDF.php	2010-08-02 13:55:30 UTC (rev 6675)
@@ -295,8 +295,8 @@
 		
 		// mypermanentImage (permanent highlight from geometry.js)
 		if(map_el.ownerDocument.images['mapSymbol']){
-			var permanentImage_x = map_el.ownerDocument.getElementById('mapSymbol').style.left;
-			var permanentImage_y = map_el.ownerDocument.getElementById('mapSymbol').style.top;
+			var permanentImage_x = parseInt(map_el.ownerDocument.getElementById('mapSymbol').style.left, 10);
+			var permanentImage_y = parseInt(map_el.ownerDocument.getElementById('mapSymbol').style.top, 10);
 			var objImage = map_el.ownerDocument.images['mapSymbol'];
 			var permanentHighlightImage = objImage.src;
 			//change img src from absolute path to relative



More information about the Mapbender_commits mailing list