Map 1
Map 2

Code to generate this page:

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

$MAP_OBJECT1 = new GoogleMapAPI("map_1");
$MAP_OBJECT->setDSN("mysql://user:[email protected]/db_name");
$MAP_OBJECT1->addMarkerByAddress("Denver, CO","Marker Title", "Marker Description");

$MAP_OBJECT2 = new GoogleMapAPI("map_2");
//Turn off JS function display
$MAP_OBJECT2->_display_js_functions=false;
$MAP_OBJECT->setDSN("mysql://user:[email protected]/db_name");
$MAP_OBJECT2->addMarkerByAddress("Littleton, CO","Marker Title", "Marker Description");
?>
<html>
<head>
<?PHP /*You only need to call getHeaderJS() from one of the objects*/ ?>
<?=$MAP_OBJECT1->getHeaderJS();?>
<?=$MAP_OBJECT2->getMapJS();?>
<?=$MAP_OBJECT1->getMapJS();?>
</head>
<body onLoad="onload();">
<script type="text/javascript">
function onload(){
<?=$MAP_OBJECT1->printOnLoadFunction();?>();
<?=$MAP_OBJECT2->printOnLoadFunction();?>();
}
</script>
Map 1
<?=$MAP_OBJECT1->printMap();?>
<?=$MAP_OBJECT1->printSidebar();?>
<hr />
Map 2
<?=$MAP_OBJECT2->printMap();?>
<?=$MAP_OBJECT2->printSidebar();?>
</body>
</html>