numlayers;
// phpinfo();
//
// RENDER MAIN MAP
//
// Note: If you get errors with the saveWebImage() call below, then make sure
// that the directory specified by IMAGEPATH in the .MAP file exists and is
// writable by the httpd user.
//
$img = $map->draw();
$url = $img->saveWebImage();
printf("\n", $url, $map->width, $map->height);
//
// LEGEND
//
$img = $map->drawLegend();
$url = $img->saveWebImage();
printf("
\n", $url);
//
// SCALE BAR
//
$img = $map->drawScaleBar();
$url = $img->saveWebImage();
printf("
\n", $url);
?>