Template:Team:Aachen/MeetupMap1.js

From 2014.igem.org

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

var myLatlng = new google.maps.LatLng(-25.363882,131.044922); var mapOptions = {

 zoom: 4,
 center: myLatlng

} var map = new google.maps.Map(document.getElementById("map-canvas"), mapOptions);

var marker = new google.maps.Marker({

   position: myLatlng,
   title:"Hello World!"

});

// To add the marker to the map, call setMap(); marker.setMap(map);