<!--
// This code also requires two GPS input fields with ids of "lat" & "lon"
// This code will create a Google map sized 400x300 pixels in a DIV with an id of "mapdiv"

var mloc;
var marker;
var map;

function loadOutput() {
  map = new GMap2(document.getElementById("mapdiv"));
  mloc = new GLatLng(Number(document.getElementById("lat").value), Number(document.getElementById("lon").value));
  marker = new GMarker(mloc, {title: "The medallion was hidden here.", clickable: false, draggable: false});
  map.setCenter(mloc, 13);
  map.addOverlay(marker);
  map.setMapType(G_NORMAL_MAP);
  var mapType = new GMapTypeControl();
  map.addControl(mapType);
  var mapZoom = new GLargeMapControl();
  map.addControl(mapZoom);
  map.disableDoubleClickZoom();
  map.disableContinuousZoom();
  map.disableScrollWheelZoom();
  map.disableDragging();
}
// -->