Commit 0d1c1c39 authored by Robert Ricci's avatar Robert Ricci

Center map and add some explanatory text.

parent 82207825
......@@ -88,12 +88,20 @@ function draw_usermap($type) {
} else {
$divstyle = "width: 850px; height: 400px;";
$divstyle = "width: 850px; height: 400px; margin-right: auto; margin-left: auto";
if ($type != $USERMAP_TYPE_EMBED) {
echo("<p>This map shows the cities with registered users of this ");
echo("testbed. Numbers on the markers give the numbers of users ");
echo("in a region. You can zoom in to see more detail, and ");
echo("clicking on a maker will bring up a list of the cities it ");
# The meat - where the map will get displayed
echo "<div id=\"map_canvas\" style=\"$divstyle\"></div>\n";
if (isset($fullscreen)) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment