Location

From Wiki**3

Revision as of 15:01, 18 February 2014 by Root (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 mapOptions = { center: new google.maps.LatLng(38.736436,-9.23), 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>