December
2
require_once ('testing/phoogle/phoogle.php');
$map = new PhoogleMap();
$map->setAPIKey("ABQIAAAAAaLdBpD8x_3WqfHoOJSPsRQ1zo8C4EyR5UotMkfipVOGn7i0ZxRqdvd0B5LtDKaO_enTMzoMMtJiWw");
?> printGoogleJS(); ?>
//customization options are here
$map->zoomLevel = 5; //zoom in as far as we can
$map->setWidth(480); //pixels
$map->setHeight(540); //pixels
$map->controlType = 'large'; //show large controls on the side
$map->showType = true; //hide the map | sat | hybrid buttons
//CUSTOM INFO WINDOW DATA
$postsformap = Posts::get( array ('content_type' => 'ideamen_show', 'status' => Post::status('published') ) );
foreach ( $postsformap as $post ) {
$map->addAddress('echo $post->info->address;', 'echo $post->info->venue;');
}
$map->showMap();
?>
Displayed Points:
(displayed using a table with an id of "my_table")
showValidPoints("table","my_table"); ?>
Points NOT displayed
(dispayed using an unordered list with an id of "my_list")
showInvalidPoints("list","my_list"); ?>