rendered paste body; Defaults
[defaults]
shadow = "shadow.png"
anchorX = 16
anchorY = 51
infoX = 24
infoY = 4
; Marker sets
[big blue]
name = "Big Blue"
sequence = "blue.png"
[big red]
name = "Big Red"
sequence = "red.png"
;[new paw]
;name = "New Paw"
;sequence = "newpaw.png"
; Files
$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);
============================
============================
HTML section below
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="paw" xml:lang="paw">
<head>
<title> Pensacola | Dogs | Breeds | Pawmap.com</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<meta name="description" content="website description goes here" />
<meta name="keywords" content="keywords,goes,here" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAOXF3amWEGNFYcTC3OqtbuxT_dYv5Cv-R-rTZwtwr5mwueqmb0xTdV6-ZlZDr-tyqkpnyn8q_8x_6lw" type="text/javascript"></script>
<link rel="shortcut icon" href="/sites/all/themes/DrupalRefresh/favicon.ico" type="image/x-icon" />
<style type="text/css" media="all">@import "/sites/all/modules/nodeprofile/nodeprofile.css";</style>
<style type="text/css" media="all">@import "/sites/all/modules/devel/devel.css";</style>
<style type="text/css" media="all">@import "/modules/node/node.css";</style>
<style type="text/css" media="all">@import "/modules/system/defaults.css";</style>
<style type="text/css" media="all">@import "/modules/system/system.css";</style>
<style type="text/css" media="all">@import "/modules/user/user.css";</style>
<style type="text/css" media="all">@import "/sites/all/modules/cck/content.css";</style>
<style type="text/css" media="all">@import "/sites/all/modules/cck/fieldgroup.css";</style>
<style type="text/css" media="all">@import "/sites/all/modules/logintoboggan/logintoboggan.css";</style>
<style type="text/css" media="all">@import "/sites/all/modules/tagadelic/tagadelic.css";</style>
<style type="text/css" media="all">@import "/sites/all/modules/thickbox/thickbox.css";</style>
<style type="text/css" media="all">@import "/sites/all/modules/lightbox2/lightbox.css";</style>
<style type="text/css" media="all">@import "/sites/all/modules/gmap/gmap.css";</style>
<style type="text/css" media="all">@import "/sites/all/modules/simplemenu/simplemenu.css";</style>
<style type="text/css" media="all">@import "/sites/all/themes/DrupalRefresh/style.css";</style>
<script type="text/javascript" src="/sites/default/modules/latlon_validation.js"></script>
</head>
======= snip... =========
<div class="mybuddylist">
<h1>My Address</h1><div id="gmap-view_gmap-gmap0" style="width: 100%; height: 200px;" class="gmap-control gmap-gmapgmap gmap-map gmap--gmap"></div><script type="text/javascript">Drupal.extend({ settings: { "gmap": { "view_gmap": { "width": "100%", "height": "200px", "zoom": 10, "controltype": "Small", "align": "None", "maptype": "Map", "line_colors": [ "#00cc00", "#ff0000", "#0000ff" ], "behavior": { "locpick": 0, "nodrag": 0, "nokeyboard": 0, "nomousezoom": 0, "autozoom": 0, "dynmarkers": 1, "overview": 0, "notype": 1, "fatmarkers": 1 }, "markermode": "1", "markers": [ { "markername": "paw", "latitude": "30.421111", "longitude": "-87.216944" } ], "querypath": "http://pm51.rymland.org/map/query", "longitude": "-87.216944", "latitude": "30.421111" } } } });</script>
<h1>Kazzy's buddies </h1>
<a href="/buddy/add/104">add Kazzy to your buddies</a> <br />
<div class="buddyowner"><a id="showdogs">show dogs pictures</a></div> <div class="clearer"></div>
</div>
</div>
</div>