Thanks for the help guys.

My html code is as follows, but something is awry obviously

<html><head>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" >
<title>George's Maps with arrows text </title>
<script src="http://maps.google.com/maps?
file=api&amp;v=2.x&amp;key=ABQIAAAAf1jpxeaS99N62EygynWFOhRURkg4jQUFiZ83F_0Q5U4SrcYk8RSZQpovkzW_zBsHZpoyjdzV6xCU-
Q" type="text/javascript"></script>
<script src="OffsetableMarker.js" type="text/javascript"></script>

<script type="text/javascript">
function createoffsetMap(div){

document.write "Function started";

var map =  new Gmap2(div)

                map.addControl(new GSmallMapControl());
                map.addControl(new GMapTypeControl());
                map.addControl(new GScaleControl());
                map.setCenter(new GLatLng(50.1659020, -5.1020780), 14);
                map.enableContinuousZoom();
                map.enableDoubleClickZoom();
        map.addOverlay(new OffsetableMarker((new GLatLng(50.1659020,
-5.1020780)),{},null,null,null,50,50));
}
</script>

</head>

<body onload="createoffsetMap(mapOffsetdiv);" style="font-weight:
bold; font-size: large; font-family: Arial; background-color:
#cccc99">
<div id="mapOffsetdiv" style="width:600px; height:479px; margin:0px;
margin-right:12px; background-color:#F0F0F0; float:left;"></div>

</body>
</html>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to google-maps-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en.

Reply via email to