Phoogle – a quick and easy PHP Google Maps API app
This entry was posted on Jun 06 2008
In my recent search for the easiest, cleanest, php API plugins, I found Phoogle. It's a PHP / Google Maps class that is very cleanly written, and absolutely painless to implement. Though you will still need to apply for your free Google Developer API Key, it's about as quick and easy as it gets for such a powerful functionality. Also, if you use CakePHP, you can install a Phoogle Helper! Here's the basic code to make it work:
PHP:
-
require_once 'phoogle.php';
-
$map = new PhoogleMap();
-
$map->setAPIKey("<strong><em>YOUR API KEY GOES HERE</em></strong>");
-
printGoogleJS();
-
-
$map->addAddress('208 Dingler Ave, Mooresville, NC 28115');
-
$map->addAddress('210 Doster Ave, Mooresville, NC 28115');
-
$map->addAddress('300 Dingler Ave, Mooresville, NC 28115');
-
$map->showMap();
2 Responses
to “Phoogle – a quick and easy PHP Google Maps API app”
1 Trackback(s)
- Jan 4, 2009: Recent Links Tagged With "phoogle" - JabberTags

Thanks
This was very useful to me I am not much of a php developer and i needed to implement Google Maps on an example website :)