Subversion-Projekte lars-tiefland.cienc

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
9 lars 1
var Contact = function () {
2
 
3
    return {
4
        //main function to initiate the module
5
        init: function () {
6
			var map;
7
			$(document).ready(function(){
8
			  map = new GMaps({
9
				div: '#gmapbg',
10
				lat: -13.004333,
11
				lng: -38.494333
12
			  });
13
			   var marker = map.addMarker({
14
		            lat: -13.004333,
15
					lng: -38.494333,
16
		            title: 'Loop, Inc.',
17
		            infoWindow: {
18
		                content: "<b>Metronic, Inc.</b> 795 Park Ave, Suite 120<br>San Francisco, CA 94107"
19
		            }
20
		        });
21
 
22
			   marker.infoWindow.open(map, marker);
23
			});
24
        }
25
    };
26
 
27
}();
28
 
29
jQuery(document).ready(function() {
30
   Contact.init();
31
});
32