Login   Register  
PHP Classes
elePHPant
Icontem

File: ex1.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Vagharshak Tozalakyan  >  Map Builder  >  ex1.php  >  Download  
File: ex1.php
Role: Example script
Content type: text/plain
Description: Example 1 - Minimal installation.
Class: Map Builder
Display maps using Google Maps API v3
Author: By
Last change:
Date: 2 years ago
Size: 288 bytes
 

Contents

Class file image Download
<?php

// Include MapBuilder class.
require_once 'class.MapBuilder.php';

// Create MapBuilder object.
$map = new MapBuilder();

// Set map's center position by latitude and longitude coordinates. 
$map->setCenter(48.8582782.294254);

// Display the map.
$map->show();

?>