Code to generate this page:

<?php
include_once("../include/GoogleMap.php");
include_once("../include/JSMin.php");

$MAP_ID = "map";
$MAP_OBJECT = new GoogleMapAPI(); $MAP_OBJECT->_minify_js = isset($_REQUEST["min"])?FALSE:TRUE;
$MAP_OBJECT->setDSN("mysql://user:[email protected]/db_name");
$DIRECTIONS_CONTAINER_ID = "map_directions";
$DIRECTIONS_CONTAINER_ID2 = "map_directions2";
$MAP_OBJECT->disableSidebar();
$MAP_OBJECT->enableElevationDirections();
$MAP_OBJECT->enableBikingDirections();
$MAP_OBJECT->addDirections("Centennial, CO", "Englewood, CO", $DIRECTIONS_CONTAINER_ID, $display_markers=true);
$MAP_OBJECT->addDirections("Littleton, CO 80128", "Invesco Field, Denver, CO", $DIRECTIONS_CONTAINER_ID2, $display_markers=true);
?>
<html>
<head>
<?=$MAP_OBJECT->getHeaderJS();?>
<?=$MAP_OBJECT->getMapJS();?>
</head>
<body>
<?=$MAP_OBJECT->printOnLoad();?>
<?=$MAP_OBJECT->printMap();?>
<div id="<?=$DIRECTIONS_CONTAINER_ID?>"></div>
<div id="elevation<?=$DIRECTIONS_CONTAINER_ID?>"></div>
<div id="elevation<?=$DIRECTIONS_CONTAINER_ID2?>"></div>
</body>
</html>