PHP Classes

Google map: Display Maps using Google Maps API version 3

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (10)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 2,770 This week: 1All time: 1,368 This week: 59Up
Version License PHP version Categories
google-map 1.0.0Free To Use But R...5PHP 5, Web services, Geography


This class can be used to display Maps using Google Maps API version 3.

It can generate HTML and JavaScript to display a map using Google Maps centered in given coordinates and set to a given zoom level.

The class can also add one or more markers to display in the map with given icon image, title and associated information text.

Picture of Sandeep Kumar
Name: Sandeep Kumar <contact>
Classes: 7 packages by
Country: India India
Age: 40
All time rank: 1508 in India India
Week rank: 71 Up7 in India India Up
Innovation award
Innovation award
Nominee: 2x


Hi Viewer, Thanks to download my class. Well i have written this for all web developers who want to integrate google map. moslty we get requirement for every website like contact us page, map directions. This class is very easy to customized but plz ask me before any modification or you can hire me to make your google map successful. You need not to get any google map api if you use this class. so its easy to transfer files for one domain to other. How to Use This Class: download the zip and archives on a folder. View source: <?php include_once('googlemap.php'); ?> <html> <body> <div id="map" style="width:400px; height:400px;" > <?php $map=new GOOGLE_API_3(); $map->center_lat='28.022900221052016'; // set latitude for center location $map->center_lng='73.3011245727539'; // set langitude for center location $map->zoom=14; echo $map->showmap(); ?> </div> </body> </html> Please take a look on examplemap.php and markerexample.php. You can take support on this class at Thanks a lot. Enjoy Coding.

  • mapwithmarker
  • samplemap
  Files folder image Files  
File Role Description
Image file airplane-sport.png Icon custom icon image
Plain text file examplemap.php Example show google map
Plain text file googlemap.php Class main class
Plain text file markerexample.php Example add marker example
Plain text file readme.txt Doc. readme

 Version Control Unique User Downloads Download Rankings  
This week:1
All time:1,368
This week:59Up