List of samples:
next sample ⇒

Simple Map

This is the most simple and unuseful usage: just load a map


  
<?php
include('gmaps3simple.class.php');

$gmaps = new gmaps3simple(array('id'=>'map_new'));

$gmaps->center_point('Padova, Italia');

$gmaps->set_size(500400);

$gmaps->set_zoom_level(7);                      

echo 
$gmaps->render();    

?>
<div style="position:relative;">
    <div id="map_new" style="width:500px; height:400px; border:3px solid black"></div>
</div>