[mapguide-commits] r7805 - trunk/MgDev/Web/src/viewerfiles

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Tue Aug 27 06:55:55 PDT 2013


Author: jng
Date: 2013-08-27 06:55:54 -0700 (Tue, 27 Aug 2013)
New Revision: 7805

Modified:
   trunk/MgDev/Web/src/viewerfiles/ajaxmappane.templ
Log:
#2345: Add a tilecell class to tile images in the AJAX viewer. If a developer actually wants to see the actual tile grid for debugging purposes, they can just add a CSS rule like: img.tilecell { border: 1px solid black; } to show the cells.

Modified: trunk/MgDev/Web/src/viewerfiles/ajaxmappane.templ
===================================================================
--- trunk/MgDev/Web/src/viewerfiles/ajaxmappane.templ	2013-08-27 03:08:33 UTC (rev 7804)
+++ trunk/MgDev/Web/src/viewerfiles/ajaxmappane.templ	2013-08-27 13:55:54 UTC (rev 7805)
@@ -3679,7 +3679,7 @@
             url += ('&TS=' + timestamp);
         }
         
-        tag = '<img id="' + (imgId) + '" width=' + TILECX + ' height=' + TILECY + ' border=0 vspace=0 hspace=0 src="' + url + '" style="visibility: hidden; width: ' + TILECX + 'px; height: ' + TILECY + 'px; vertical-align: bottom;" onload="OnTileLoaded(\'' + imgId + '\')">';
+        tag = '<img class="tilecell" id="' + (imgId) + '" width=' + TILECX + ' height=' + TILECY + ' border=0 vspace=0 hspace=0 src="' + url + '" style="visibility: hidden; width: ' + TILECX + 'px; height: ' + TILECY + 'px; vertical-align: bottom;" onload="OnTileLoaded(\'' + imgId + '\')">';
         imgId ++;
         cell.innerHTML = tag;
     }



More information about the mapguide-commits mailing list