summaryrefslogtreecommitdiffstats
path: root/includes/maps.php
diff options
context:
space:
mode:
authorPatrick Davison <snapwilliam@gmail.com>2012-08-18 17:53:51 -0700
committerPatrick Davison <snapwilliam@gmail.com>2012-08-18 17:53:51 -0700
commit51997e9bc3aaab137c93f6af658af2e8dd7fb6e8 (patch)
tree39fe29620ae4c6045a929cb1584bfbede7de19b5 /includes/maps.php
parent373c31ffc41e76165aca5ee709284045c799f0e7 (diff)
parentd2b27af54e560591e44393de0d22fd8621c3320c (diff)
downloadpathery-51997e9bc3aaab137c93f6af658af2e8dd7fb6e8.tar.xz
Merge branch 'HEAD' of ssh://git@git.raylu.net/pathery
Diffstat (limited to 'includes/maps.php')
-rw-r--r--includes/maps.php18
1 files changed, 2 insertions, 16 deletions
diff --git a/includes/maps.php b/includes/maps.php
index cddd0d5..474a2ad 100644
--- a/includes/maps.php
+++ b/includes/maps.php
@@ -110,19 +110,6 @@ function DisplayMap($mapMatrix, $idprefix = 1, $style = 'normal', $speed = NULL)
//$height = (($i * 22) + 2).'px';
$jsonmap = str_replace("'", "\'", json_encode($mapdata));
-
- //!! This should move to header.php
- //This works in chrome, not sure about others.
- $preloaddiv = "
- <div style='visibility:hidden;display:none'>
- <img src='images/Path1.png' alt=''>
- <img src='images/Path2.png' alt=''>
- <img src='images/Path3.png' alt=''>
- <img src='images/Path4.png' alt=''>
- <img src='images/OverlayTileFaceted50.png' alt=''>
- <img src='images/OverlayTileFaceted30.png' alt=''>
- <img src='images/OverlayTileFaceted10.png' alt=''>
- </div>";
//$mapdatadiv .= "<div id='$idprefix,mapdata' style='visibility:hidden;display:none'>";
//$mapdatadiv .= $jsonmap;
@@ -134,8 +121,7 @@ function DisplayMap($mapMatrix, $idprefix = 1, $style = 'normal', $speed = NULL)
</script>";
- $maptable = "$preloaddiv
- <table style='width:$width;height:$height;' class='grid_table'>
+ $maptable = "<table style='width:$width;height:$height;' class='grid_table'>
$maptable
</table>";
@@ -1079,4 +1065,4 @@ function findTilesM ($mapMatrix, $search) {
return $r;
}
-?> \ No newline at end of file
+?>