<? /** * Le mappe di Google è avvolto in un myPHP taglib * <code> * Come usarlo: * $googlemaps = new Googlemaps(); * print $googlemaps->getCss(); * print $googlemaps->getJavascript(GOOGLE_MAPS_KEY); * print $googlemaps->getHtml(); * O * 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.10 * @since 22-feb-2007 */ // Le mappe di Google è avvolto in un myPHP taglib require_once(HTML_GOOGLE_MAPS_PAGE_PATH.'/Googlemaps.php'); // Il layout di pagina DocType::display(); // Il tipo di documento HTML // Il capo sezione HeadStart::display(''); // Il <html><head> CssBase::display(); // Il style sheet Googlemaps::css(); // Il foglio di stile per le mappe di Google Googlemaps::javascript(GOOGLE_MAPS_KEY); // Il Corpo sezione BodyStart::display(); // Il </head><body> Googlemaps::display(); // Il Google maps api BodyEnd::display(); // Il </body></html> ?>
Stampa pagina
Ricerca
Email
Tornare