YaWK  24.1
Yet another WebKit
googleMaps.php
Go to the documentation of this file.
1 <?php
2 /** @var $db \YAWK\db */
3 // check if GoogleMaps object is set
4 if (!isset($googleMaps))
5 { // load gallery widget class
6  require_once 'classes/googleMaps.php';
7  // create new google maps widget object
8  $googleMaps = new \YAWK\WIDGETS\GOOGLE\MAPS\googleMaps($db);
9 }
10 // embed google maps
11 $googleMaps->init();