Does anyone know how make the default Google map interface display long and lat coordinates in an info window when the user clicks on the map?
Header code:
<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;sensor=true&amp;key=ABQIAAAAZ6eT28fkj8_qRULTI6L0HBRQxZU5pk4gyaqNiN8f5B0Lcg03_BRT9YfVR6upxmqNPUmV3LWLAq5WDg" type="text/javascript"></script>
<script type="text/javascript">
function initialize() {
if (GBrowserIsCompatible()) {
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(13.175771, -59.556885), 10);
map.setUIToDefault();
}
}
</script>
Body code:
<div id="map" style="width: 640px; height: 300px"></div>