Location

From HLT@INESC-ID

Revision as of 17:32, 18 February 2014 by David (talk | contribs)

<runphp> print "

<script type=\"text/javascript\" src=\"https://maps.googleapis.com/maps/api/js?key=AIzaSyArSvrf-pAIg5hbhc1duw5MWoAMxlOTPrg&sensor=false\"></script>

<script type=\"text/javascript\">function initialize() { var contentStringALAMEDA = '

'+ 'Instituto Superior Técnico' + '
' + '

Campus Alameda' + '
' + 'Av. Rovisco Pais, 1049-001 Lisboa' + '
' + 'Phone: +351 218 417 000' + '
' + 'Fax: +351 218 499 242

' + '
' + '

'; var contentStringREDOL = '

'+ 'INESC ID Lisboa' + '
' + '

Rua Alves Redol 9, 1000-029 Lisboa' + '
' + 'Phone: +351 213 100 313' + '
' + 'Fax: +351 213 145 843

' + '
' + '

'; var contentStringTAGUSPARK = '

'+ 'Instituto Superior Técnico' + '
' + '

Campus Taguspark' + '
' + 'Avenida Professor Cavaco Silva, ' + '
' + '2780-990 Porto Salvo' + '
' + 'Phone: +351 214 233 200' + '
' + 'Fax: +351 214 233 252' + '

' + '
' + '

'; infowindow = new google.maps.InfoWindow(); var mapOptions = { center: new google.maps.LatLng(38.736436,-9.21), zoom: 12, mapTypeId: google.maps.MapTypeId.ROADMAP }; var map = new google.maps.Map(document.getElementById(\"map-canvas\"), mapOptions); var redol = new google.maps.LatLng(38.736436,-9.140646); var marker_redol = new google.maps.Marker({ position: redol, map: map, title: \"INESC ID - Alves Redol\", html: contentStringREDOL }); google.maps.event.addListener(marker_redol, 'click', function() { infowindow.close(); infowindow.setContent(this.html); infowindow.open(map, this); }); var alameda = new google.maps.LatLng(38.736862377801465, -9.13663387298584); var marker_alameda = new google.maps.Marker({ position: alameda, map: map, title: \"Instituto Superior Técnico - Campus Alameda\", html: contentStringALAMEDA }); google.maps.event.addListener(marker_alameda, 'click', function() { infowindow.close(); infowindow.setContent(this.html); infowindow.open(map, this); }); var taguspark = new google.maps.LatLng(38.74005918493525, -9.304969310760498); var marker_taguspark = new google.maps.Marker({position: taguspark, map: map, title: \"Instituto Superior Técnico - Campus Taguspark\", html: contentStringTAGUSPARK }); google.maps.event.addListener(marker_taguspark, 'click', function() { infowindow.close(); infowindow.setContent(this.html); infowindow.open(map, this); }); } /*google.maps.event.addDomListener(window, 'load', initialize); */ </script>

<script type=\"text/javascript\">initialize();</script>

"; </runphp>