Code to generate this page:

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

$MAP_OBJECT = new GoogleMapAPI(); $MAP_OBJECT->_minify_js = isset($_REQUEST["min"])?FALSE:TRUE;
$MAP_OBJECT->setDSN("mysql://user:[email protected]/db_name");
$id_route_1 = $MAP_OBJECT->addPolyLineByAddress("Littleton, CO", "Denver, CO", $id=false,$color='#FF0000',$weight=2);
$id_route_2 = $MAP_OBJECT->addPolyLineByAddress("Aurora, CO", "Englewood, CO", $id=false,$color='#0000FF',$weight=2);
$MAP_OBJECT->addPolyLineByAddress("Denver, CO", "Boulder, CO", $id_route_1);
?>
<html>
<head>
<?=$MAP_OBJECT->getHeaderJS();?>
<?=$MAP_OBJECT->getMapJS();?>
</head>
<body>
<?=$MAP_OBJECT->printOnLoad();?>
<?=$MAP_OBJECT->printMap();?>
<?=$MAP_OBJECT->printSidebar();?>
</body>
</html>