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(MS_PNG, 0, 0, 0);
printf("\n", $url, $map->width, $map->height);
//
// LEGEND
//
$img = $map->drawLegend();
$url = $img->saveWebImage(MS_PNG, 0, 0, 0);
printf("
Draw into one picture.\n", $url);
// Draw all legend icon from all class in all layers
printf("
Draw each icon seperatly.
");
printf("
%s |
\n", $url);
?>