PHP Classes

File: SampleGmaps.php

Recommend this page to a friend!
  Classes of Mitchelle Pascual   Easy Google Map   SampleGmaps.php   Download  
File: SampleGmaps.php
Role: Example script
Content type: text/plain
Description: Sample of Usage
Class: Easy Google Map
Display world locations using Google maps
Author: By
Last change:
Date: 17 years ago
Size: 699 bytes


Class file image Download
$gm = & new EasyGoogleMap("ABQIAAAAoM-kEW8yHxWwveOZAouVXhTkQdzC1XuexHlQDsWmu58XcfHJ8xQB-xtA9nt_7NDWTsfJfHHxosdNZg");
$gm->SetAddress("10 market st, san francisco");
$gm->SetInfoWindowText("This is the address # 1.");

$gm->SetAddress("Manila, Philippines");
$gm->SetInfoWindowText("This is Philippine Country.");
<?php echo $gm->GmapsKey(); ?>
<?php echo $gm->MapHolder(); ?>
echo $gm->InitJs(); ?>
echo $gm->GetSideClick(); ?>
echo $gm->UnloadMap(); ?>