rendered paste body$mymarkers = array( array(
//'markername'=>'treasure',
'markername'=>'paw',
//'markername'=>'flat/flatpaw',
'latitude' => $locat['latitude'],
'longitude'=>$locat['longitude'],
//'text'=>'Im here'
));
//$settings = array(
//$mymap = array("#map", $settings);
$mymap = array (
'#map' => 'view_gmap',
'#settings' =>
array (
'width' => '100%',
'height' => '200px',
'zoom' => '10',
//'control' => 'small',
//'tcontrol' => 'off',
//'controltype' => 'Small',
'align' => 'None',
'latlong' => $locat['latitude'].",".$locat['longitude'],
'maptype' => 'Map',
'markermode' => '1',
/*'line_colors' =>
array (
0 => '#00cc00',
1 => '#ff0000',
2 => '#0000ff',
),*/
'behavior' =>
array (
'locpick' => 0,
'nodrag' => 0,
'nokeyboard' => 0,
'nomousezoom' => 0,
'autozoom' => 0,
'dynmarkers' => 1,
'overview' => 0,
'notype' => 1,
'fatmarkers' => 1,
),
'markers' => $mymarkers
),
);
/*array (
'id' => 'mymap',
'latitude' => $locat['latitude'],
'longitude'=> $locat['longitude'],
'zoom' => 5,
'width' => '100%',
'height' => '200px',
'type' => 'map',
'control' => 'Small',
'markers' => $mymarkers
);*/
print theme("gmap", $mymap);