You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

Googlemap outlininng connectivity and other details in countries where MIT faculty and students may travel.

[html]
<html>
<head>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<title>MIT - Connectivity Around the World</title>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
<script type="text/javascript">
var map;
function initialize() {
var myLatlng = new google.maps.LatLng(28.35,77.12);
var myOptions =

Unknown macro: { zoom}

map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);

var location =new google.maps.LatLng(28.35,77.12);
var marker = new google.maps.Marker(

Unknown macro: { position}

);
attachMessage(marker);

// The five markers show a secret message when clicked
// but that message is not within the marker's instance data

function attachMessage(marker) {
var message = "<a href =\"https://wikis-mit-edu.ezproxyberklee.flo.org/confluence/display/fsx/Faculty+and+Student+Experience+-+Travel+Template\"> Travel Profiles - India ";
var infowindow = new google.maps.InfoWindow(

Unknown macro: { content}

);
google.maps.event.addListener(marker, 'click', function()

Unknown macro: { infowindow.open(map,marker); }

);
}
}
</script>
</head>
<body style="margin:0px; padding:0px;" onload="initialize()">
<div id="map_canvas" style="width:100%; height:100%"></div>
</body>
</html>
[html]

[*Faculty Travel Profiles*]

  • No labels