<?php /** * The Google maps is wrapped into a myPHP taglib * <code> * Usage: * $googlemaps = new Googlemaps(); * print $googlemaps->getCss(); * print $googlemaps->getJavascript(GOOGLE_MAPS_KEY); * print $googlemaps->getHtml(); * Or * Googlemaps::css(); * Googlemaps::javascript(GOOGLE_MAPS_KEY); * Googlemaps::display(); * </code> * @package google-maps * @filesource * @see HTML_GOOGLE_MAPS_PAGE_PATH.'/Googlemaps.php' * @copyright (c) http://Finn-Rasmussen.com * @license http://Finn-Rasmussen.com/license/ myPHP License conditions * @author http://Finn-Rasmussen.com * @version 1.11 * @since 27-nov-2009 */
// The Google maps api is wrapped into this myPHP taglib require_once(HTML_GOOGLE_MAPS_PAGE_PATH.'/Googlemaps.php');
// The page layout DocType::display(); // The html document type // The head section HeadStart::display(''); // The <html><head> CssBase::display(); // The style sheet Googlemaps::css(); // The style sheet for Google map Googlemaps::javascript(GOOGLE_MAPS_KEY); // The Body section BodyStart::display(); // The </head><body> Googlemaps::display(); // The Google maps api BodyEnd::display(); // The </body></html> ?>