function initializeGoogleMap() { var latlng = new google.maps.LatLng(36.390023500000,-87.049887600000); var myOptions = { zoom: 18, center: latlng, navigationControl: true, navigationControlOptions: {style: google.maps.NavigationControlStyle.DEFAULT, position: google.maps.ControlPosition.TOP_LEFT }, mapTypeControl: true, mapTypeControlOptions: {style: google.maps.MapTypeControlStyle.DROPDOWN_MENU, position: google.maps.ControlPosition.TOP_RIGHT }, scaleControl: true, scaleControlOptions: { position: google.maps.ControlPosition.BOTTOM_LEFT }, mapTypeId: google.maps.MapTypeId.HYBRID, draggable: true, disableDoubleClickZoom: false, keyboardShortcuts: true }; var map = new google.maps.Map(document.getElementById("mapCanvas1255"), myOptions); if (false) { var trafficLayer = new google.maps.TrafficLayer(); trafficLayer.setMap(map); } if (false) { var bikeLayer = new google.maps.BicyclingLayer(); bikeLayer.setMap(map); } if (true) { addMarker(map,36.390023500000,-87.049887600000," Art Vargas"); } } window.onload = initializeGoogleMap(); function addMarker(map,lat,long,titleText) { var markerLatlng = new google.maps.LatLng(lat,long); var marker = new google.maps.Marker({ position: markerLatlng, map: map, title:" Art Vargas", icon: "/_widgets/google-maps-with-geolocation/img/marker/marker.png"}); }