Template:Team:Aachen/MeetupMap1.js

From 2014.igem.org

Revision as of 21:24, 5 September 2014 by Mjoppich (Talk | contribs)

function initialize() {

 var llcouven = new google.maps.LatLng(50.776525,6.07854);
 var ll13 = new google.maps.LatLng(50.777488,6.078368);
 var ll3 = new google.maps.LatLng(50.779944,6.075279);
 var llx3 = new google.maps.LatLng(50.779415,6.081802);

var llcenter = new google.maps.LatLng(50.778899,6.078283);

 var mapOptions = {
   zoom: 16,
   center: llcenter
 }
 var map = new google.maps.Map(document.getElementById('map-couvenhalle'), mapOptions);
 var marker_couvenhalle = new google.maps.Marker({
     position: llcouven,
     map: map,
     title: 'Couvenhalle'
 });
 var marker_bus13 = new google.maps.Marker({
     position: ll13,
     map: map,
     title: 'Bus Stop: Technische Hochschule'
 });
 var marker_bus3 = new google.maps.Marker({
     position: ll3,
     map: map,
     title: 'Bus Stop: Audimax'
 });
 var marker_busx3 = new google.maps.Marker({
     position: llx3,
     map: map,
     title: 'Bus Stop: Driescher Gässchen'
 });

}

google.maps.event.addDomListener(window, 'load', initialize);