Template:Team:Aachen/MeetupMap1.js
From 2014.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
function initialize() { | function initialize() { | ||
- | var | + | var llcouven = new google.maps.LatLng(-25.363882,131.044922); |
+ | var ll13 = new google.maps.LatLng(-25.363882,131.044922); | ||
+ | var ll3 = new google.maps.LatLng(-25.363882,131.044922); | ||
+ | var llx3 = new google.maps.LatLng(-25.363882,131.044922); | ||
+ | |||
var mapOptions = { | var mapOptions = { | ||
zoom: 4, | zoom: 4, | ||
Line 7: | Line 11: | ||
var map = new google.maps.Map(document.getElementById('map-couvenhalle'), mapOptions); | var map = new google.maps.Map(document.getElementById('map-couvenhalle'), mapOptions); | ||
- | var | + | var marker_couvenhalle = new google.maps.Marker({ |
- | position: | + | position: llcouven, |
map: map, | map: map, | ||
- | title: ' | + | 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); | google.maps.event.addDomListener(window, 'load', initialize); |
Revision as of 21:19, 5 September 2014
function initialize() {
var llcouven = new google.maps.LatLng(-25.363882,131.044922); var ll13 = new google.maps.LatLng(-25.363882,131.044922); var ll3 = new google.maps.LatLng(-25.363882,131.044922); var llx3 = new google.maps.LatLng(-25.363882,131.044922);
var mapOptions = { zoom: 4, center: myLatlng } 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);