<?php // This is just for my examples require '_system/config.php'; // Autoloader stuff require '../PHPGoogleMaps/Core/Autoloader.php'; $map_loader = new SplClassLoader('PHPGoogleMaps', '../'); $map_loader->register(); $map = new \PHPGoogleMaps\Map(); $map->enableAdsense('pub-9317852351271673', 'small_rectangle'); $map->setCenter('New York, NY'); ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Adsense - <?php echo PAGE_TITLE; ?> </title> <link rel="stylesheet" type="text/css" href="_css/style.css"> <?php $map->printHeaderJS(); ?> <?php $map->printMapJS(); ?> </head> <body>