Thanks Larry.
However, the coord and other code in that one is a bit foreign to me.
If you look at the example given in V2 it was simple to understand:
If the documentation example is the only one that covers this could you please tell me what bits of code relating to the infowindow, I would need in a basic V3 map below please and the addlistener bit I guess I would need to miss out Eg:
<script type="text/javascript">
function initialize() {
var myLatlng = new google.maps.LatLng(TEST, CO-ORDS);
var myOptions = {
zoom: 10,
center: myLatlng,
mapTypeId: google.maps.MapTypeId.HYBRID
}
var map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);
var contentString = '<div id="content">'+
'<p><b>Test Example</p> '+
'</div>';
var infowindow = new google.maps.InfoWindow({
content: contentString
});
var marker = new google.maps.Marker({
position: myLatlng,
map: map,
title: 'Example Name'
});
google.maps.event.addListener(marker, 'click', function() {
infowindow.open(map,marker);
});
Thanks