Google map experts

Soldato
Joined
6 Jan 2006
Posts
3,407
Location
Newcastle upon Tyne
Anyone know how to get one of those little markers on there? "we are here" type of thing.

Tried alsorts of overlays but just cant seem to get it to work.

Here is the code

Code:
<html>
<head>
<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key="unique key"
      type="text/javascript"></script>
    <script type="text/javascript">
    //<![CDATA[
    function load() {
      if (GBrowserIsCompatible()) {
                         var map = new GMap2(document.getElementById("map"));
                         map.setCenter(new GLatLng(54.9445, -1.6208), 15);
		map.addControl(new GSmallMapControl());
                          map.addControl(new GMapTypeControl());
                          map.setCenter(new GLatLng(54.9445, -1.6208), 15);
		var gmarkers = [];
                          var htmls = [];
                          var i = 0;
		var point = new GLatLng(54.9445,-1.6208);
		
      }
    }
    //]]>
    </script>
</head>
<body onLoad="load()" onUnload="="GUnload()">


							    <p><div id="map" style="width: 600px; height: 500px"></div>
					
</body>
</html>
 
Back
Top Bottom