GoogleMaps Overview
Posted: Fri Feb 23, 2007 10:15 pm
For anyone interested in adding the small Overview map to the lower right-hand corner of the map, around line 880 of the GoogleMapAPI.class.php file you can add:
between
and
Perhaps it could be an turned into an option.
Nullig
Code: Select all
$_output .= 'map.addControl(new GOverviewMapControl());' . "\n";
Code: Select all
if($this->type_controls) {
$_output .= 'map.addControl(new GMapTypeControl());' . "\n";
}
Code: Select all
$_output .= $this->getAddMarkersJS();
Nullig