summaryrefslogtreecommitdiffstats
path: root/pages/gallery.php
diff options
context:
space:
mode:
Diffstat (limited to 'pages/gallery.php')
-rw-r--r--pages/gallery.php26
1 files changed, 26 insertions, 0 deletions
diff --git a/pages/gallery.php b/pages/gallery.php
index 9df059a..f8e1b9d 100644
--- a/pages/gallery.php
+++ b/pages/gallery.php
@@ -54,6 +54,32 @@ $myparams['name'] = 'Round and Round';
$map = GenerateShapedMap($spin, $myparams);
+include('./includes/mapclass.php');
+
+$mapCode = GenerateMapCode($map);
+echo $mapCode;
+echo "<br>";
+echo "<br>";
+
+$mapClass = new map($mapCode);
+echo DisplayMapThumbnail($mapClass);
+
+echo "<br>";
+echo "<br>";
+echo $mapClass->width;
+echo "<br>";
+echo $mapClass;
+echo "<br>";
+echo "<br>";
+var_dump($mapClass);
+echo "<br>";
+echo TileStart;
+echo TileFinish;
+echo "<br>";
+
+exit;
+
+
echo DisplayMap($map, 2);
//addNewChallengeMap($map, 0, 0, 'Round and Round');