<script type="text/javascript">
function initialize() {
//starting map
var map = new GMap2(document.getElementById("map_canvas"));
//Add controlls
map.addControl(new GSmallMapControl());
map.addControl(new GMapTypeControl());
//center map on dippers
map.setCenter(new GLatLng(50.741129, -2.699985), 15);
//define dippers point
var dippers = new GLatLng(50.741129, -2.699985);
var point = new GMarker(dippers, {clickable: true});
//makeinteractive
GEvent.addListener(point, "clicked", function() {
point.openInfoWindowHtml("Just bouncing along...");
});
//Set Dippers Point as a red pointer
map.addOverlay(point);
}
</script>
Why is this not showing the pop up message? I don't see why it
wouldn't!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---