changeset 237:d858383547c7 gmap2

Comment cosmetics.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 17 Mar 2014 01:21:24 +0200
parents d0789eab0c47
children 885ef4bdb0de
files tools/makegmaps.php
diffstat 1 files changed, 19 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/tools/makegmaps.php	Mon Mar 17 01:18:50 2014 +0200
+++ b/tools/makegmaps.php	Mon Mar 17 01:21:24 2014 +0200
@@ -160,10 +160,10 @@
   makeHtAccessFile(&$urlTilePrefix, $pathTileData, $i."/");
 
 
-/*
- * Build maputils and fetch latest map data
- */
 if (!file_exists($pathMapUtils))
+//
+// Build maputils and fetch latest map data
+//
 {
   // If maputils does not exist, clone the repository
   $tmp = $binMercurial." clone http://pupunen.net/hg/maputils/ ".escapeshellarg($pathMapUtils);
@@ -211,9 +211,9 @@
 require $config;
 
 
-/*
- * Generate continents JavasScript data file
- */
+//
+// Generate continents JavasScript data file
+///
 echo "* Generating $worldJS ...\n";
 $str  = "var pmapWorld = {";
 foreach ($worldMap as $wkey => $wval)
@@ -238,9 +238,9 @@
 
 
 
-/*
- * Generate marker files from LOC data
- */
+//
+// Generate marker files from LOC data
+///
 echo "Converting location data from LOC files to GMaps markers...\n";
 
 foreach ($modes as $mode => $mdata)
@@ -299,8 +299,9 @@
 }
 
 
-/* Export tradelane waypoint data
- */
+//
+// Export tradelane waypoint data
+//
 if (!isset($tradelanePoints))
   die("PHP array \$tradelanePoints not set, '$config' is old or incompatible.\n");
 
@@ -329,8 +330,9 @@
 stOutputToJSONFile($tradelaneOut, $qdata);
 
 
-/* Export tradelane polyline data
- */
+//
+// Export tradelane polyline data
+//
 echo "\nCreating tradelane polyline data '".$tradelaneOverlay."' ...\n";
 if (!isset($tradelaneDefs))
   die("PHP array \$tradelaneDefs not set, '$config' is old or incompatible.\n");
@@ -357,9 +359,10 @@
 
 stOutputToJSONFile($tradelaneOverlay, $qdata);
 
-/*
- * Generate PNG maps
- */
+
+//
+// Generate PNG maps
+//
 function makeMap($inFilename, $outFilename, $zlevel, $data)
 {
   global $mapPalette, $fontFile, $fontSize;